ViewExtension

Author

jimlyas

Since

12 Jan 2023

Copyright © 2022-2023 jimlyas. All rights reserved.

Functions

Link copied to clipboard

Function to disable View

Link copied to clipboard
fun View.enable()

Function to enable View

Link copied to clipboard
fun View.gone()

Function to remove View

Link copied to clipboard

Function to hide View

Link copied to clipboard
fun EditText.onTextChanged(doWhenChange: (text: String) -> Unit)

Function to define listener when text changed on EditText

Link copied to clipboard

Function to display View