Skip to content

EditTextMapper

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

class EditTextMapper(viewIdentifierResolver: ViewIdentifierResolver, colorStringFormatter: ColorStringFormatter, viewBoundsResolver: ViewBoundsResolver, drawableToColorMapper: DrawableToColorMapper) : TextViewMapper<EditText>

A WireframeMapper implementation to map an EditText component. In this case any EditText for which the input type is considered sensible (password, email address, postal address, numeric password) will be masked with the static mask: ***. All the other text fields will not be masked.

Types

EditTextMapper.Companion

Constructors

EditTextMapper

constructor(viewIdentifierResolver: ViewIdentifierResolver, colorStringFormatter: ColorStringFormatter, viewBoundsResolver: ViewBoundsResolver, drawableToColorMapper: DrawableToColorMapper)

Clone this wiki locally