Answer the question
In order to leave comments, you need to log in
What is the best way to do reverse navigation?
It is necessary to make reverse navigation as in the YouTube application from the fragment of the search results to the fragment of the recommendations feed.
These fragments are similar, have the same View, but different data.
How to do it better?
1) Do not make two fragments, but make only one and process the button click back by loading the necessary data from the necessary LiveData?
2) Make two fragments?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question