Files
kotlin-fork/plugins/android-compiler-plugin/testData/android/converter/simple/fqNameInAttr/layout.kt
T
2015-04-03 17:37:23 +03:00

21 lines
628 B
Kotlin

package kotlinx.android.synthetic.layout
import android.app.*
import android.view.*
import android.widget.*
import android.webkit.*
import android.inputmethodservice.*
import android.opengl.*
import android.appwidget.*
import android.support.v4.app.*
import android.support.v4.view.*
import android.support.v4.widget.*
import kotlin.internal.flexible.ft
val android.app.Activity.MyButton: ft<org.my.cool.Button, org.my.cool.Button?>
get() = findViewById(0) as? org.my.cool.Button
val android.app.Fragment.MyButton: ft<org.my.cool.Button, org.my.cool.Button?>
get() = getView().findViewById(0) as? org.my.cool.Button