Back to project page AndroidLifecycleTest.
The source code is released under:
MIT License
If you think the Android project AndroidLifecycleTest listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.lifecycletest; /* w w w . ja v a 2 s .c o m*/ import android.os.Bundle; public class ThirdActivity extends LifeCycleActivity { /** * This activity creates a fragment from XML. * When rotating, 'onConfigurationChanged' method is called. */ @Override protected void onCreate(Bundle savedInstanceState) { setTag(getClass().getSimpleName(), this); getActionBar().setTitle("ThirdActivity"); super.onCreate(savedInstanceState); setContentView(R.layout.activity_sample); } }