3
Deegriz
7y

Android Fragment life cycle.
What's your mental model for understanding Fragments? Please share!

Comments
  • 1
    I've not bothered about InstanceState yet...So it's like this (an outline):

    Activity -> begin transaction (Fragment1) -> if(done) -> new activity/fragment.

    For tabbed layout:
    Activity -> attach fragments to viewpager
  • 2
    what @TheGeekyGuy just said
Add Comment