Fichas
Sin título
Fichas del conjunto (4)
- 1Describe/explain the ways to generate Android UIdeclaration- declare beforehand in xml
procedural - don't know the layout, how it'll look like beforehand; so declare in .java - 2What is the Activity lifecycle?methods called when activity first starts / when back button is pressed
-depends on state of the activity - 3Where/when to save app state information? Why?onPause()
activities not running in foreground may be stopped / killed for new activities
-good place to save data if needed next time round - 4How to allow user to exit the app?Use finish()
Información
- Descripción
- Activity declaration and methods
- Creado por
- Grace Tangarine
- Visitas
- 4
- Valoración