Issue
In Activity life cycle we can go from OnPause to Onresume directly (this can occur if our activity leaves the foreground but is still visible, i.e. a dialog pop ups). Checking the fragment life cycle diagram: http://developer.android.com/guide/components/fragments.html
When the activity is paused then the fragments respective onPause is called. But at this point when the activity call onResume what state is the fragment in ? What life cycle callback gets called ?
Solution
onResume as well, check the official documentation: http://developer.android.com/reference/android/app/Fragment.html#onResume()
Answered By - fasteque
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.