Screen Keyboard State

The ScreenKeyboardState is used to register the ScreenKeyboard's event and assemble the total amount value inserted

Author

N7ghtm4r3 - Tecknobit

Properties

Link copied to clipboard

The current amount value inserted with the ScreenKeyboard

Functions

Link copied to clipboard
fun appendDigit(digit: Int)

Method to append a new Int digit in the total amount

fun appendDigit(digit: String)

Method to append a new String digit in the total amount. This method handles the DOT_CHARACTER insertion also

Link copied to clipboard

Method to retrieve the current amount registered by the state

Link copied to clipboard

Method to parse the current amount registered by the state

Link copied to clipboard

Method to remove the last digit registered by the state and inserted in the amount