Start messaging app –> composer activity -> gallery -> camera -> press home button. Now which state camera activity is in?

Answer: onStop()

Description: When we press home button any activity, that will be moved to back ground state (invisible state), so it calls onStop() on that activity


No comments:

Post a Comment