How to use EditText TextWatcher in Fragment on Android
In my application I want 2 fragments and for show this fragment I used navigation component.
First fragment is Home and second fragment is Detail.
I have one problem, in fragment Home I have EditText and want when write on EditText show a Toast!
But when go from Home to Detail, and then back to Home call EditText automatically!!!
My code :