Add imports for XML widget tags, support.v4 fake package files
This commit is contained in:
+17
-11
@@ -1,32 +1,38 @@
|
||||
package kotlinx.android.synthetic.layout
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.Fragment
|
||||
import android.view.View
|
||||
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 Activity.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
val android.app.Activity.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
get() = findViewById(0) as FrameLayout
|
||||
|
||||
val Fragment.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
val android.app.Fragment.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
get() = getView().findViewById(0) as FrameLayout
|
||||
|
||||
val Activity.textView1: ft<TextView, TextView?>
|
||||
val android.app.Activity.textView1: ft<TextView, TextView?>
|
||||
get() = findViewById(0) as TextView
|
||||
|
||||
val Fragment.textView1: ft<TextView, TextView?>
|
||||
val android.app.Fragment.textView1: ft<TextView, TextView?>
|
||||
get() = getView().findViewById(0) as TextView
|
||||
|
||||
val Activity.password: ft<EditText, EditText?>
|
||||
val android.app.Activity.password: ft<EditText, EditText?>
|
||||
get() = findViewById(0) as EditText
|
||||
|
||||
val Fragment.password: ft<EditText, EditText?>
|
||||
val android.app.Fragment.password: ft<EditText, EditText?>
|
||||
get() = getView().findViewById(0) as EditText
|
||||
|
||||
val Activity.login: ft<Button, Button?>
|
||||
val android.app.Activity.login: ft<Button, Button?>
|
||||
get() = findViewById(0) as Button
|
||||
|
||||
val Fragment.login: ft<Button, Button?>
|
||||
val android.app.Fragment.login: ft<Button, Button?>
|
||||
get() = getView().findViewById(0) as Button
|
||||
|
||||
|
||||
+13
-7
@@ -1,20 +1,26 @@
|
||||
package kotlinx.android.synthetic.layout.view
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.Fragment
|
||||
import android.view.View
|
||||
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 View.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
val android.view.View.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
get() = findViewById(0) as FrameLayout
|
||||
|
||||
val View.textView1: ft<TextView, TextView?>
|
||||
val android.view.View.textView1: ft<TextView, TextView?>
|
||||
get() = findViewById(0) as TextView
|
||||
|
||||
val View.password: ft<EditText, EditText?>
|
||||
val android.view.View.password: ft<EditText, EditText?>
|
||||
get() = findViewById(0) as EditText
|
||||
|
||||
val View.login: ft<Button, Button?>
|
||||
val android.view.View.login: ft<Button, Button?>
|
||||
get() = findViewById(0) as Button
|
||||
|
||||
|
||||
Reference in New Issue
Block a user