SYSTEMS DEVELOPMENT ANALYSIS
APPLICATION DEVELOPMENT PROCESSES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Call
|
|
Branch
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -In that case you can just call the finishActivity() function from your code and it’ll take you back to the previous activity.
Detailed explanation-2: -onCreate() is called when the when the activity is first created. onStart() is called when the activity is becoming visible to the user.
Detailed explanation-3: -onCreate() gets called when the activity is first created, and it’s where you do your normal activity setup. onDestroy() gets called just before your activity gets destroyed.
Detailed explanation-4: -onDestroy() is called before the activity is destroyed. The system invokes this callback either because: the activity is finishing (due to the user completely dismissing the activity or due to finish() being called on the activity), or.