EditTextStateUpdatePolicy

EditTextStateUpdatePolicy specifies when EditText component should update its internal input state

Entries

Link copied to clipboard

No updates are performed

Link copied to clipboard

lazyUpdateInput() is called every time text changes, thus allowing to preserve input state during layout recalculations

Link copied to clipboard

Expands ONLY_LAZY_UPDATES by calling updateInput() when line count changes, which triggers re-layout

Link copied to clipboard

updateInput() is called every time text changes, thus every change leads to recalculating layout

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.