Issue
How can I restore the UI status of my Fragment-A after I have replaced it with Fragment-B and then call Fragment-A again?
Solution
You could use SharedViewModel between these two fragments and store the state there.
Share data between fragments with SharedViewModel
Answered By - MakinTosH
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.