Package com.maxkeppeler.sheets.input

Types

Link copied to clipboard
interface InputBehavior

Defines the behavior actions of an input. This can be added to a InputCustom

Link copied to clipboard
typealias InputListener = (result: Bundle) -> Unit

Listener which returns the inputs with the new data.

Link copied to clipboard
class InputSheet : Sheet

The InputSheet lets you display a form consisting of various inputs.

Link copied to clipboard
object Validation

Static helper methods for validations.

Link copied to clipboard
data class ValidationResult(valid: Boolean = true, errorText: String? = null)

Result of the validation success or failure of the validation. At failure, an error text can be displayed.

Functions

Link copied to clipboard
fun AppCompatEditText.addTextWatcher(textChanged: (String) -> Unit? = null): TextWatcher