Android Extensions: Do not upcast ViewStub to View (KT-10321)
This commit is contained in:
+1
-1
@@ -14,5 +14,5 @@ public class MyActivity : Activity() {
|
||||
// 1 GETSTATIC test/R\$id\.stub
|
||||
// 0 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL android/app/Activity\.findViewById
|
||||
// 0 CHECKCAST android/view/ViewStub
|
||||
// 1 CHECKCAST android/view/ViewStub
|
||||
// 2 CHECKCAST android/view/View
|
||||
Vendored
+3
-3
@@ -15,10 +15,10 @@ kotlinx.android.synthetic.main
|
||||
|
||||
kotlinx.android.synthetic.main.test
|
||||
|
||||
public val android.app.Activity.stub: android.view.View!
|
||||
public val android.app.Fragment.stub: android.view.View!
|
||||
public val android.app.Activity.stub: android.view.ViewStub!
|
||||
public val android.app.Fragment.stub: android.view.ViewStub!
|
||||
|
||||
|
||||
kotlinx.android.synthetic.main.test.view
|
||||
|
||||
public val android.view.View.stub: android.view.View!
|
||||
public val android.view.View.stub: android.view.ViewStub!
|
||||
|
||||
Reference in New Issue
Block a user