GenderPickerTextInputLayout
GenderPickerTextInputLayout is an extension of InputFormAutocompleteTextInputLayout
. It is designed to request the user gender providing a set of options, not allowing the user to write other options.
Usage
You can set it up in the layout:
<com.poqstudio.platform.view.account.inputform.genderpicker.ui.GenderPickerTextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content" />
If you want to change the gender picker options, you can override its AutocompleteList
with Koin with the name genderPickerAutocompleteListName
:
factory<AutocompleteList>(named(genderPickerAutocompleteListName))