Package renetik.android.ui.extensions.view
Functions
Link copied to clipboard
inline fun <T> View.activatedIf(property: CSProperty<T>, crossinline condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
inline fun <T> View.activatedIf( property1: CSProperty<T>, property2: CSProperty<*>, crossinline condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
fun <T, V> View.activatedIf( property1: CSProperty<T>, property2: CSProperty<V>, condition: (T, V) -> Boolean): CSRegistration
Content copied to clipboard
Link copied to clipboard
fun <T> View.activateIf(property: CSProperty<T>, value: T): CSRegistration
Content copied to clipboard
Link copied to clipboard
fun <ViewType : View> ViewGroup.add(view: ViewType, index: Int = -1): ViewType
Content copied to clipboard
fun <ViewType : View> ViewGroup.add(@LayoutRes layoutId: Int, index: Int = -1): ViewType
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun View.disabledByAlpha(condition: Boolean = true, disable: Boolean = true)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun View.disabledByAlphaIfNot(property: CSProperty<Boolean>, disable: Boolean = true): CSRegistration
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : View> T.goneIf(condition: Boolean, animated: Boolean = false): T
Content copied to clipboard
fun View.goneIf(property: CSProperty<Boolean>, animated: Boolean = false): CSRegistration
Content copied to clipboard
fun <T> View.goneIf( property: CSProperty<T>, animated: Boolean = false, condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ViewPropertyAnimator.onAnimationEnd(function: Func): ViewPropertyAnimator
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : View> T.onGlobalLayout(function: (CSRegistration) -> void): CSRegistration
Content copied to clipboard
Link copied to clipboard
inline fun View.onLayoutChange(crossinline function: () -> Unit): CSRegistration
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> View.selectedIf(property: CSProperty<T>, crossinline condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
inline fun <T> View.selectedIf( property1: CSProperty<T>, property2: CSProperty<*>, crossinline condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
fun <T, V> View.selectedIf( property1: CSProperty<T>, property2: CSProperty<V>, condition: (T, V) -> Boolean): CSRegistration
Content copied to clipboard
Link copied to clipboard
fun <T : View> T.shownIf(condition: Boolean, animated: Boolean = false): T
Content copied to clipboard
fun View.shownIf(property: CSProperty<Boolean>, animated: Boolean = false): CSRegistration
Content copied to clipboard
fun <T> View.shownIf( property: CSProperty<T>, animated: Boolean = false, condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
fun <T> View.shownIf( property1: CSProperty<T>, property2: CSProperty<*>, animated: Boolean = false, condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
Link copied to clipboard
fun View.shownIfNot(property: CSProperty<Boolean>, animated: Boolean = false): CSRegistration
Content copied to clipboard
Link copied to clipboard
inline fun <R : Comparable<R>> ViewGroup.sortChildren(crossinline selector: (View) -> R?): ViewGroup
Content copied to clipboard
inline fun <R : Comparable<R>> ViewGroup.sortChildren(crossinline selector: (Int, View) -> R?): ViewGroup
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun View.toggleActiveAsTrue(property: CSProperty<Boolean>): CSRegistration
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun View.toggleSelectedAsTrue(property: CSProperty<Boolean>): CSRegistration
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : View> T.visibleIf(condition: Boolean, animated: Boolean = false): T
Content copied to clipboard
fun View.visibleIf(property: CSProperty<Boolean>, animated: Boolean = false): CSRegistration
Content copied to clipboard
fun <T> View.visibleIf( property: CSProperty<T>, animated: Boolean = false, condition: (T) -> Boolean): CSRegistration
Content copied to clipboard
Link copied to clipboard
fun View.visibleIfNot(property: CSProperty<Boolean>, animated: Boolean = false): CSRegistration
Content copied to clipboard