I have two questions and your help is really appreciated
First:
is there a way to make a button in the main activity and a menu item open the same fragment from back stack without creating a new one.
Second:
how can I retain what is typed in editText
in the fragment without any buttons clicked, should I use outState.putString()
in the onSaveInstantState()
method or somewhere else and then do I check if it existed should I do it in the onCreate()
or onCreateView()
?
thank you!