aa01d6d7cf
- change property return type signatures from View to actual widget type - simplify and update tests
17 lines
442 B
Kotlin
17 lines
442 B
Kotlin
import android.app.Activity
|
|
import android.view.View
|
|
import android.widget.*
|
|
|
|
val Activity.item_detail_container: FrameLayout
|
|
get() = findViewById(R.id.item_detail_container) as FrameLayout
|
|
|
|
val Activity.textView1: TextView
|
|
get() = findViewById(R.id.textView1) as TextView
|
|
|
|
val Activity.password: EditText
|
|
get() = findViewById(R.id.password) as EditText
|
|
|
|
val Activity.login: Button
|
|
get() = findViewById(R.id.login) as Button
|
|
|