Fix "unresolved widget fqname" bug in Gradle
This commit is contained in:
+2
-2
@@ -3,10 +3,10 @@ package kotlinx.android.synthetic.test
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.app.Fragment.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0) as? android.view.View
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
val android.app.Activity.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
Reference in New Issue
Block a user