Android 9 Development Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

Getting ready

Create a new project in Android Studio with a Blank Activity, and call it ActivityLifecycle. We will use the (auto-generated) TextView method to display the state information.