Package renetik.android.controller.base

Types

Link copied to clipboard
abstract class CSActivity : AppCompatActivity, CSActivityViewInterface, CSVisibility
Link copied to clipboard
class CSActivityResult(    val requestCode: Int,     val resultCode: Int,     val data: Intent?)
Link copied to clipboard
open class CSActivityView<ViewType : View> : CSView<ViewType> , CSActivityViewInterface, LifecycleOwner, CSHasRegistrations
Link copied to clipboard
interface CSActivityViewInterface : CSViewInterface, CSVisibility
Link copied to clipboard
class CSDisplayCutout(native: DisplayCutout)
Link copied to clipboard
class CSMediaPlayerView(parent: CSActivityView<out View>) : CSActivityView<View>
Link copied to clipboard
class CSOnKeyDownResult(val keyCode: Int, val event: KeyEvent)
Link copied to clipboard
class CSRequestPermissionResult(    val requestCode: Int,     val permissions: Array<String>,     val statuses: IntArray)
Link copied to clipboard
open class CSView<ViewType : View> : CSContext, CSHasParentView, CSViewInterface

Functions

Link copied to clipboard
fun <Type : CSView<*>, CSHasRegistrations> Type.afterGlobalLayout(function: () -> Unit): CSRegistration
Link copied to clipboard
fun <CSViewType : CSView<*>> View.asCS(): CSViewType?
Link copied to clipboard
fun View.asCSActivityView(): CSActivityView<*>?
Link copied to clipboard
fun View.asCSView(): CSView<*>?
Link copied to clipboard
fun CSViewInterface.button(@IdRes id: Int, onClick: (view: Button) -> Unit? = null): Button
Link copied to clipboard
fun CSViewInterface.checkBox(@IdRes id: Int): CheckBox
Link copied to clipboard
fun CSViewInterface.compound(@IdRes id: Int): CompoundButton
Link copied to clipboard
fun CSViewInterface.datePicker(@IdRes id: Int): DatePicker
Link copied to clipboard
fun <Type : CSView<*>> Type.disabledByAlpha(condition: Boolean = true, disable: Boolean = true)
Link copied to clipboard
fun <Type : CSView<*>> Type.disabledIf(condition: Boolean): Type
Link copied to clipboard
fun CSViewInterface.drawer(@IdRes id: Int): DrawerLayout
Link copied to clipboard
fun CSViewInterface.editText(@IdRes id: Int): EditText
Link copied to clipboard
fun CSActivityView<*>.enterFullScreen()
Link copied to clipboard
fun CSActivityView<*>.exitFullScreen()
Link copied to clipboard
fun <T : View> CSViewInterface.findView(@IdRes id: Int): T?
Link copied to clipboard
fun CSViewInterface.frame(@IdRes id: Int): FrameLayout
Link copied to clipboard
fun CSViewInterface.group(@IdRes id: Int): ViewGroup
Link copied to clipboard
fun <Type : CSView<*>, CSHasRegistrations> Type.hasSize(function: (Type) -> Unit): Type
Link copied to clipboard
fun CSViewInterface.horizontalScroll(@IdRes id: Int): HorizontalScrollView
Link copied to clipboard
fun CSViewInterface.imageView(@IdRes id: Int, onClick: (view: ImageView) -> Unit? = null): ImageView
Link copied to clipboard
fun CSView<*>.inflateView(layoutId: Int): View
Link copied to clipboard
fun CSViewInterface.linear(@IdRes id: Int): LinearLayout
Link copied to clipboard
fun CSViewInterface.listView(@IdRes id: Int): ListView
Link copied to clipboard
fun <Type : CSView<*>, CSHasRegistrations> Type.onGlobalFocus(function: (View?, View?) -> Unit): CSRegistration
Link copied to clipboard
fun CSView<*>.onOrientationChange(function: (CSDisplayOrientation) -> Unit): CSRegistration
fun CSView<*>.onOrientationChange(function: (CSRegistration, CSDisplayOrientation) -> Unit): CSRegistration
Link copied to clipboard
fun CSActivityView<*>.onPause(listener: Func): CSRegistration
Link copied to clipboard
fun CSActivityView<*>.onResume(listener: Func): CSRegistration
Link copied to clipboard
fun CSViewInterface.progress(@IdRes id: Int): ProgressBar
Link copied to clipboard
fun CSViewInterface.radio(@IdRes id: Int): RadioButton
Link copied to clipboard
fun CSViewInterface.radioGroup(@IdRes id: Int, onChange: (buttonId: Int) -> Unit? = null): RadioGroup
Link copied to clipboard
fun <Type : CSView<*>> Type.removeFromSuperview(): Type
Link copied to clipboard
fun <T : CSView<*>> T.reusable(): T
Link copied to clipboard
fun CSViewInterface.scrollView(@IdRes id: Int): ScrollView
Link copied to clipboard
fun CSViewInterface.search(@IdRes id: Int): SearchView
Link copied to clipboard
fun CSViewInterface.seekBar(@IdRes id: Int): SeekBar
Link copied to clipboard
fun CSViewInterface.simpleView(@IdRes id: Int): View
Link copied to clipboard
fun CSViewInterface.spinner(@IdRes id: Int): Spinner
Link copied to clipboard
fun CSViewInterface.textView(@IdRes id: Int, onClick: (view: View) -> Unit? = null): TextView
Link copied to clipboard
fun CSViewInterface.textViewOrNull(@IdRes id: Int, onClick: (view: View) -> Unit? = null): TextView?
Link copied to clipboard
fun CSViewInterface.timePicker(@IdRes id: Int): TimePicker
Link copied to clipboard
fun CSViewInterface.view(@IdRes id: Int, onClick: (view: View) -> Unit? = null): View
Link copied to clipboard
fun CSViewInterface.viewGroup(@IdRes id: Int): ViewGroup
Link copied to clipboard
fun CSViewInterface.views(@IdRes vararg ids: Int): List<View>
Link copied to clipboard
fun CSViewInterface.webView(@IdRes id: Int): WebView

Properties

Link copied to clipboard
val CSView<*>.displayCutout: CSDisplayCutout?
Link copied to clipboard
val CSView<*>.hasParentView: Boolean
Link copied to clipboard
val CSActivityView<*>.isPaused: Boolean