Fix "unresolved widget fqname" bug in Gradle

This commit is contained in:
Yan Zhulanow
2015-09-17 13:10:10 +03:00
parent 07b77432de
commit b73f91d16b
15 changed files with 58 additions and 46 deletions
@@ -3,10 +3,10 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
val android.app.Activity.button: ft<android.view.View, android.view.View?>
get() = findViewById(0) as? android.view.View
get() = findViewById(0)
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0) as? android.view.View
get() = getView().findViewById(0)
val android.app.Activity.button2: ft<android.widget.Button, android.widget.Button?>
get() = findViewById(0) as? android.widget.Button