FormView
for check required text in EditText.
Installation
maven { url 'https://jitpack.io' }
implementation 'com.github.alimodares2003:FormView:1.0.1'
How to use
1.add FromView to root layout. also you can add anywhere.
- for button click hundle:
3.for add submit to toolbar item :
4.for change error text:
- for optional you can add this
android:tag="optional"
to TextInputLayout
Important explanations
1.your button id must be "submit"
2.your toolbar item id must be "submit"
3.EditText must be in TextInputLayout