Package renetik.android.material.extensions

Types

Link copied to clipboard
class NotFilteringArrayAdapter<T>(    context: Context,     @LayoutRes resource: Int,     val objects: List<T>) : ArrayAdapter<T>

Functions

Link copied to clipboard
fun <T : TextInputLayout> T.dropdown(    context: Context,     @LayoutRes itemLayout: Int,     items: List<Any>,     filter: Boolean = false,     onItemChange: (Int) -> Unit? = null): T
Link copied to clipboard
fun TextInputLayout.error(hint: String? = null)
Link copied to clipboard
fun <T : TextInputLayout> T.errorClear(): T
Link copied to clipboard
fun <T : TextInputLayout> T.filters(vararg filters: InputFilter): T
Link copied to clipboard
fun <T : TextInputLayout> T.fireCheck(): T
Link copied to clipboard
fun View.materialSwitch(id: Int): SwitchMaterial
Link copied to clipboard
fun <T : ChipGroup> T.onChange(onChange: (view: T) -> Unit): T
fun <T : RangeSlider> T.onChange(listener: (T) -> Unit): T
fun <T : Slider> T.onChange(listener: (T) -> Unit): CSRegistration
Link copied to clipboard
fun TextInputLayout.onChangeClearError(): TextInputLayout
Link copied to clipboard
fun <T : TextInputLayout> T.onCheck(listener: () -> Unit): T
Link copied to clipboard
fun <T : TextInputLayout> T.onClear(listener: () -> Unit): T
Link copied to clipboard
fun <T : Slider> T.onDragStart(listener: (T) -> Unit): CSRegistration
Link copied to clipboard
fun <T : Slider> T.onDragStop(listener: (T) -> Unit): CSRegistration
Link copied to clipboard
fun <T : TextInputLayout> T.onFocusChange(onChange: (view: T) -> Unit): T
Link copied to clipboard
fun <T : TextInputLayout> T.onTextChange(onChange: (view: T) -> Unit): T
Link copied to clipboard
fun View.rangeSlider(id: Int): RangeSlider
Link copied to clipboard
fun View.slider(id: Int): Slider
Link copied to clipboard
fun View.snackBar(title: String): Snackbar
fun View.snackBar(    title: String,     @ColorInt backColor: Int? = null,     @ColorInt textColor: Int? = null,     time: Int = LENGTH_LONG,     action: CSButtonAction? = null): Snackbar
Link copied to clipboard
fun View.snackBarError(title: String, action: CSButtonAction? = null): Snackbar
Link copied to clipboard
fun View.snackBarInfo(title: String, action: CSButtonAction? = null): Snackbar
Link copied to clipboard
fun View.snackBarWarn(title: String, action: CSButtonAction? = null): Snackbar
Link copied to clipboard
fun <T : TextInputLayout> T.startIconCheckable(checkable: Boolean = true): T
Link copied to clipboard
fun <T : Slider> T.stepSize(value: Float): T
fun <T : Slider> T.stepSize(value: Int): T
Link copied to clipboard
fun TextInputLayout.text(): String
fun TextInputLayout.text(value: String): EditText
Link copied to clipboard
fun TextInputLayout.textTypeFace(@FontRes font: Int): TextInputLayout
Link copied to clipboard
fun <T : TextInputLayout> T.title(string: String): T
Link copied to clipboard
fun TextInputLayout.typeface(@FontRes font: Int): TextInputLayout
Link copied to clipboard
fun <T : Slider> T.value(value: Float): T
fun <T : Slider> T.value(value: Int): T
@JvmName(name = "valuePropertyDouble")
fun Slider.value(    property: CSProperty<Float>,     min: Float = 0.0f,     max: Float = 1.0f,     step: Float = 0.1f): CSRegistration
@JvmName(name = "valuePropertyInt")
fun Slider.value(    property: CSProperty<Int>,     min: Int = 0,     max: Int = 100,     step: Int = 1): CSRegistration
Link copied to clipboard
fun <T : Slider> T.valueFrom(value: Float): T
fun <T : Slider> T.valueFrom(value: Int): T
Link copied to clipboard
fun <T : Slider> T.valueTo(value: Float): T
fun <T : Slider> T.valueTo(value: Int): T
Link copied to clipboard
fun <T : TextInputLayout> T.withClear(): TextInputLayout

Properties

Link copied to clipboard
val TextInputLayout.autoCompleteView: AutoCompleteTextView
Link copied to clipboard
val <T : TextInputLayout> T.eventClear: CSEvent<Unit>
Link copied to clipboard
var <T : TextInputLayout> T.isChecked: Boolean
Link copied to clipboard
val TextInputLayout.isError: Boolean
Link copied to clipboard
val <T : TextInputLayout> T.startIconView: CheckableImageButton?
Link copied to clipboard
val EditText.textInputLayout: TextInputLayout?
Link copied to clipboard
var <T : TextInputLayout> T.title: String