Книги автора: Beginning Android
Книга: Beginning Android
onStart(), onRestart(), and onStop()
onStart(), onRestart(), and onStop()
An activity can come to the foreground either because it is first being launched, or because it is being brought back to the foreground after having been hidden (e.g., by another activity or by an incoming phone call).
The onStart()
method is called in either of those cases. The onRestart()
method is called in the case where the activity had been stopped and is now restarting.
Conversely, onStop()
is called when the activity is about to be stopped.
Оглавление статьи/книги
Похожие страницы
- Life, Death, and Your Activity
- Разработка приложений баз данных InterBase на Borland Delphi
- Open Source Insight and Discussion
- Introduction to Microprocessors and Microcontrollers
- Chapter 6. Traversing of tables and chains
- Chapter 8. Saving and restoring large rule-sets
- Chapter 11. Iptables targets and jumps
- Chapter 5 Installing and Configuring VirtualCenter 2.0
- Chapter 16. Commercial products based on Linux, iptables and netfilter
- Appendix A. Detailed explanations of special commands
- Appendix B. Common problems and questions
- Appendix E. Other resources and links