ExpiryDateEditText
An EditText that handles putting numbers around a central divider character.
Constructors
Properties
The color used for error text.
Is true
if the text entered represents a valid expiry date that has not yet passed, and false
if not.
Gets whether or not the text should be displayed in error mode.
Gets the expiry date displayed on this control if it is valid, or null
if it is not. The return value is a ExpirationDate.Validated, where the first entry is the two-digit month (from 01-12) and the second entry is the four-digit year (2017, not 17).
Functions
Note: addTextChangedListener will potentially be called by a superclass constructor
Sets a listener that can react to changes in text, but only by reflecting the new text in the field.
Sets a listener that can react to the user attempting to delete the empty string.
Sets the error text color on this StripeEditText.