Escape soft keywords as well
This commit is contained in:
+6
@@ -30,3 +30,9 @@ val android.app.Activity.`fun`: ft<TextView, TextView?>
|
||||
val android.app.Fragment.`fun`: ft<TextView, TextView?>
|
||||
get() = getView().findViewById(0) as? TextView
|
||||
|
||||
val android.app.Activity.`set`: ft<Button, Button?>
|
||||
get() = findViewById(0) as? Button
|
||||
|
||||
val android.app.Fragment.`set`: ft<Button, Button?>
|
||||
get() = getView().findViewById(0) as? Button
|
||||
|
||||
|
||||
+3
@@ -21,3 +21,6 @@ val android.view.View.fragmentTag: ft<View, View?>
|
||||
val android.view.View.`fun`: ft<TextView, TextView?>
|
||||
get() = findViewById(0) as? TextView
|
||||
|
||||
val android.view.View.`set`: ft<Button, Button?>
|
||||
get() = findViewById(0) as? Button
|
||||
|
||||
|
||||
+5
@@ -21,4 +21,9 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/set"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user