Which of the following method is called when the activity is no longer visible to the user?

18. Which of the following method is called when the activity is no longer visible to the user?

  1. onDestroy
  2. onStop
  3. onResume

Answer: B) onStop

Explanation:

When the activity is no longer visible to the user, onStop method is invoked.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.