CONSTRUCTION
Activity A
holds Fragment A
that is able add Fragment B
on backstack.
PROBLEM
Fragment B
holds Views
generated via API response.
State of these Views
is what I need to be able to recreate after rotation or when going back to Fragment A
by using onBackPressed
and lunching Fragment B
again.
I've read quite some of the topics on SO about Fragments
in backstack and I am aware of their inability to retain instance.
What should I do to achieve such outcome?