Changes

Jump to: navigation, search

Handling Android Activity State Changes in Android Studio

No change in size, 18:05, 1 February 2016
m
Text replacement - "<google>ADSDAQBOX_FLOW</google>" to "<htmlet>adsdaqbox_flow</htmlet>"
A review of the reference documentation for the ActionBarActivity class would reveal that it is itself a subclass of the Activity class. This can be verified within the Android Studio editor using the Hierarchy tool window. With the AndroidSampleActivity.java file loaded into the editor, click on ActionBarActivity in the public class declaration line and press the Ctrl-H keyboard shortcut. The hierarchy tool window will subsequently appear displaying the class hierarchy for the selected class. As illustrated in Figure 11-1, ActionBarActivity is clearly subclassed from the FragmentActivity class which is itself a subclass of the Activity class:
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
[[Image:android_studio_hierarchy_tool_window.png|The Android Studio Class Hierarchy window]]

Navigation menu