When an activity becomes interactive (in the foreground), which callback has just run?
- onResume()
- onStart()
- onPause()
- onStop()
Answer
A) onResume()
onResume() is called when the activity starts interacting with the user.
Computer Science MCQ · More Android OS: Architecture, Framework and Application Development MCQs · Practise