Great Android Activity/Fragment lifecycle chart (Steve Pomeroy – Google+)
Posted by jpluimers on 2014/04/16
Thanks a lot Steve Pomeroy! And shame on me for finding out (through Michael Panzer, thanks for your notification) this chart only today (he published this chart on 2013-08-20).
Steve’s quote on it:
After struggling with trying to figure out how various pieces fit together, I’ve done some research and put together the complete Android Activity/Fragment lifecycle chart. This has two parallel lifecycles (activities and fragments) which are organized vertically by time. Lifecycle stages will occur in the vertical order in which they’re displayed, across activities and fragments. In this way, you can see how your fragments interact with your activities.
In addition to the attached image, I’ve also got an SVG: http://staticfree.info/~steve/complete_android_fragment_lifecycle.svg which is suitable for printing.
If this is missing lifecycle steps or is inaccurate in any way, let me know so I can update it!
Note: there is also a large bitmap of the chart.
–jeroen
via: Steve Pomeroy – Google+ – After struggling with trying to figure out how various….
Leave a comment