Module 4 Flashcards
This is referred to as one screen of the Android app’s user interface.
Activity
True or False.
An Android app may contain one or more activities, meaning one or more screens.
True
(duh)
True or False.
The Android app starts by showing the __________, and from there the app may make it possible to open additional activities
Main Activity
All activities in your Android apps are represented by a/an ______.
Activity Class
Activity Classes are subclasses of ____________
android.app.Activity
This is the first callback and called when the activity is first created.
onCreate()
This callback is called when the activity becomes visible to the user.
onStart()
This is called when the user starts interacting with the application.
onResume()
The paused activity does not receive user input and cannot execute any code and called when the current activity is being paused and the previous activity is being resumed.
onPause()
This callback is called when the activity is no longer visible.
onStop()
This callback is called before the activity is destroyed by the system.
onDestroy()
This callback is called when the activity restarts after stopping it.
onRestart()
True or False.
All activities, should be documented on your main activity file.
False.
(all activities should be documented on your MANIFEST file)