Package com.maxkeppeler.sheets.core.views

Types

Link copied to clipboard
typealias ButtonToggleGroupSelectionListener = (Int) -> Unit

Listener that returns the index of the selected button.

Link copied to clipboard
typealias DigitClickListener = (value: Int) -> Unit
Link copied to clipboard
typealias ImageClickListener = () -> Unit
Link copied to clipboard
class SheetButtonContainer @JvmOverloads constructor(val ctx: Context, attrs: AttributeSet? = null) : LinearLayoutCompat

Container that contains a button.

Link copied to clipboard
class SheetButtonToggleGroup @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = android.R.attr.horizontalScrollViewStyle) : HorizontalScrollView

Custom ButtonToggleGroup implementation with auto-scroll ability.

Link copied to clipboard
class SheetNumericalInput @JvmOverloads constructor(    val ctx: Context,     attrs: AttributeSet? = null,     styleAttr: Int = 0) : LinearLayout

Custom view which creates a numerical digits view with 2 additional icons for actions.

Link copied to clipboard
class SheetsButton @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttrs: Int = android.R.attr.buttonStyle) : MaterialButton

Custom text button used for the bottom buttons view.

Link copied to clipboard
class SheetsContent @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttr: Int = android.R.attr.textViewStyle) : AppCompatTextView

Custom TextView used for most of the text on the sheets.

Link copied to clipboard
class SheetsDigit @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttr: Int = android.R.attr.textViewStyle) : AppCompatTextView

Custom TextView used for the digits of the SheetNumericalInput.

Link copied to clipboard
class SheetsDivider @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttrs: Int = 0,     styleRes: Int = 0) : View

Custom Divider.

Link copied to clipboard
class SheetsIcon @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttr: Int = 0) : AppCompatImageView

Custom ImageView used for icon buttons on the sheets.

Link copied to clipboard
class SheetsInputEditText @JvmOverloads constructor(ctx: Context, attrs: AttributeSet? = null) : TextInputEditText

Custom EditTextView used for text input.

Link copied to clipboard
class SheetsRecyclerView @JvmOverloads constructor(ctx: Context, attrs: AttributeSet? = null) : RecyclerView

Custom RecyclerView to apply edge effect automatically.

Link copied to clipboard
class SheetsSwitch @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttrs: Int = R.attr.switchStyle) : SwitchMaterial

Custom switch button used for the InputSheet.

Link copied to clipboard
class SheetsTextInputLayout @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttrs: Int = R.attr.textInputStyle) : TextInputLayout

Custom TextInputLayout.

Link copied to clipboard
class SheetsTitle @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttr: Int = android.R.attr.textViewStyle) : AppCompatTextView

Custom TextView used for for the title of a sheet.

Link copied to clipboard
class SheetsValue @JvmOverloads constructor(    ctx: Context,     attrs: AttributeSet? = null,     styleAttr: Int = android.R.attr.textViewStyle) : AppCompatTextView

Custom TextView used for the value of some sheets.