Files
kotlin-fork/plugins/android-compiler-plugin/testData/android/converter/simple/sameIds/layout1.kt
T
2015-04-03 17:37:18 +03:00

15 lines
345 B
Kotlin

package kotlinx.android.synthetic.layout.view
import android.app.Activity
import android.app.Fragment
import android.view.View
import android.widget.*
import kotlin.internal.flexible.ft
val View.textView1: ft<View, View?>
get() = findViewById(0) : View
val View.textView2: ft<TextView, TextView?>
get() = findViewById(0) as TextView