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,8 +3,8 @@ 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)
@@ -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
@@ -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
@@ -3,10 +3,10 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0) as? android.view.View
get() = findViewById(0)
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0) as? android.view.View
get() = getView().findViewById(0)
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
@@ -3,13 +3,13 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
get() = findViewById(0) as? android.view.View
get() = findViewById(0)
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0) as? android.view.View
get() = getView().findViewById(0)
val android.support.v4.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0) as? android.view.View
get() = getView().findViewById(0)
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
@@ -3,10 +3,10 @@ package kotlinx.android.synthetic.test
import kotlin.internal.flexible.ft
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.app.Activity.MyView: ft<android.view.View, android.view.View?>
get() = findViewById(0) as? android.view.View
val android.app.Activity.MyView: ft<a.b.c, a.b.c?>
get() = findViewById(0) as? a.b.c
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
val android.app.Fragment.MyView: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0) as? android.view.View
val android.app.Fragment.MyView: ft<a.b.c, a.b.c?>
get() = getView().findViewById(0) as? a.b.c
@@ -4,9 +4,9 @@ import kotlin.internal.flexible.ft
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.app.Activity.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = findViewById(0) as? android.view.View
get() = findViewById(0)
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
val android.app.Fragment.MyKeyboardView: ft<android.view.View, android.view.View?>
get() = getView().findViewById(0) as? android.view.View
get() = getView().findViewById(0)