Escape soft keywords as well

This commit is contained in:
Yan Zhulanow
2015-04-01 20:38:49 +03:00
parent fae114f606
commit 3aa6edca7b
4 changed files with 15 additions and 1 deletions
@@ -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
@@ -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
@@ -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>