3 ms·
For a start, the image that thibran posted could be fixed. It isn't consistent about whether the bordered rectangles represent represent onFoo() calls or the st
by mjw1007 9y ago
For a start, the image that thibran posted could be fixed. It isn't consistent about whether the bordered rectangles represent represent onFoo() calls or the state after their calls.
The page it comes from says « the colored ovals are major states the Activity can be in ».
There should be a coloured oval for the (rather common) state where the Activity is the background after onStop(), and the two arrows coming out of onStop() should come out of that oval.
- lukasb 9y agoWhat do you think of this diagram? https://developer.android.com/images/topic/libraries/architecture/lifecycle-states.png https://developer.android.com/images/topic/libraries/archite... From this page we launched in May: https://developer.android.com/topic/libraries/architecture/lifecycle.html https://developer.android.com/topic/libraries/architecture/l...
- mjw1007 9y agoI think representing each state by two separate boxes containing the same text is strange and confusing. If it didn't do that, it would be able to avoid having the 'on create' line appear to pass through the 'destroyed' state.