Android plugin cli arguments test
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,9 @@
|
||||
package android.app
|
||||
|
||||
public open class Activity {
|
||||
public open fun findViewById([suppress("UNUSED_PARAMETER")] id: Int): android.view.View = null!!
|
||||
}
|
||||
|
||||
public open class Fragment {
|
||||
public open fun getView(): android.view.View = null!!
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package android.view
|
||||
|
||||
public open class View {
|
||||
public open fun findViewById([suppress("UNUSED_PARAMETER")] id: Int): android.view.View = null!!
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package android.widget
|
||||
|
||||
public open class TextView : android.view.View() {
|
||||
public fun setText([suppress("UNUSED_PARAMETER")] text: String) {}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
Reference in New Issue
Block a user