TagFragment

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

http://staticfree.info/~steve/complete_android_fragment_lifecycle.png

just in case you missed it

//DL

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:)
http://code.google.com/p/android/issues/detail?id=15394

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

//DL

© 2017 Android Tales

Theme by Anders NorenUp ↑