Android Activity Lifecycle

This is very old topic. Back to 2009 – some day I promised to myself to read android javadoc method by method. I didn’t:) So even now from time to time I find interesting methods in interesting places. Like onUserLeaveHint() and onUserInteraction() in Activity (API v3).

Anyway, here is an interesting picture of complete Activity Lifecycle originally posted on G+. Just found it on reddit today.

complete android fragment activity lifecycle


just in case you missed it


Fragment.onActivityResult is not called

If you are using android fragments compatibility package… and onActivityResult is not called – don’t be afraid! Your code is perfect, it’s Google bug:)

I’ve recompiled the library with the fix. Please find it attached.


© 2020 Android Tales

Theme by Anders NorenUp ↑