Index
A
B
- back button
- backward
- beginTransaction method / Dynamically managing fragments
- BookDescFragment class / Providing the display fragment, Encapsulating fragment operations, Making the MainActivity class adaptive, Adding and removing fragments, Creating the fragment on-the-fly, Putting it all together
- BookDescFragment instance / Making the MainActivity class adaptive, Adding and removing fragments, Managing asynchronous creation, Putting it all together
- book description
- BookFragment class / Managing the swipe fragments, Putting the swipe UI into place
- BookFragment instance / Managing the swipe fragments
- bookIndex variable / Managing asynchronous creation
- BookListFragment class / Wrapping the list in a fragment, Providing the display fragment, Abstracting fragment relationships, Making the fragment self-contained, Fragment notification
- BookPagerAdapter class / Managing the swipe fragments, Putting the swipe UI into place
- BookPagerAdapter instance / Putting the swipe UI into place
- bookTitlesAdapter method / Creating the ListFragment derived class
- Bundle class / Managing asynchronous creation
- Bundle instance / Putting it all together, Managing the swipe fragments
C
D
E
F
- file
- fragment
- fragment-oriented
- FragmentActivity class / Activities and backward compatibility
- Fragment class / The broad platform support of fragments, Wrapping the list in a fragment, Avoiding method name confusion, Special purpose fragment classes, Adapting to device differences
- fragment class
- fragment classes
- fragment display / Understanding fragment setup and display
- fragment element / Converting the activity to use fragments, Updating the layout to support dynamic fragments, Adapting to device differences, Dynamically loading a fragment at startup
- fragment hide / Understanding fragment hide and teardown
- fragment layout
- fragment layout resources
- fragment lifecycle
- FragmentManager.findFragmentById method / Loosely connecting the pieces
- FragmentManager class / Loosely connecting the pieces, Deferred execution of transaction changes, Managing the swipe fragments
- FragmentManager instance / Loosely connecting the pieces, Making the MainActivity class adaptive, Dynamically managing fragments
- fragment on-the-fly
- FragmentPagerAdapter class / Managing the swipe fragments
- fragments
- fragment selection
- fragment setup / Understanding fragment setup and display
- fragment state
- FragmentStatePagerAdapter class / Managing the swipe fragments
- fragment teardown / Understanding fragment hide and teardown
- FragmentTransaction.replace method / Supporting the back button
- FragmentTransaction class / Maximizing available resources, Dynamically managing fragments, Adding and removing fragments, Supporting the back button, Creating the fragment on-the-fly, A brave new world, Managing tab selection
- FragmentTransaction instance / Deferred execution of transaction changes, Managing tab selection
- fragment variable / Managing fragment selection
G
I
L
- layout / Layout
- layout-land / Adding an alternate layout resource
- layout aliasing
- LayoutInflater class / Wrapping the list in a fragment, Avoiding method name confusion
- LayoutInflater instance / Wrapping the list in a fragment
- layout resource files
- layout_gravity attribute / Putting the swipe UI into place
- layout_height attribute / Minimize assumptions, Encapsulating the display layout, Converting the activity to use fragments
- layout_weight attribute / Minimize assumptions, Encapsulating the display layout, Converting the activity to use fragments
- layout_width attribute / Converting the activity to use fragments
- LinearLayout element / Defining the activity appearance, Minimize assumptions, Converting the activity to use fragments, Adding an alternate layout resource
- list
- ListAdapter instance / Associating data with the list
- ListAdapter interface / Associating data with the list
- ListFragment.setListAdapter method / Associating data with the list
- ListFragment class / Fragments simplify common Android tasks, ListFragment
- ListFragment derived class
- ListFragment instance / Separating data from display, Handling ListFragment item selection
- ListFragment item selection
- ListView class / Associating data with the list
- ListView instance / Providing the navigation choices
M
N
O
- onActivityCreated callback method / Associating data with the list
- onActivityCreated method / Understanding fragment setup and display, Creating the ListFragment derived class
- onAttach callback method / Understanding fragment setup and display
- onAttach method / Maximizing available resources, Managing tab selection
- onCreateDialog method / Dialog identity, Wrapping an existing dialog in a fragment
- onCreate method / Understanding fragment setup and display, Maximizing available resources, Managing a fragment state, Adapting to device differences, Dynamically loading a fragment at startup, Transitioning between fragments, Eliminating redundant handling, Creating the fragment on-the-fly, Managing tab selection, Connecting the fragments to the tabs, Providing the navigation choices
- onCreateView callback method / Event handling, Dialog identity, Wrapping an existing dialog in a fragment
- onCreateView method / Wrapping the list in a fragment, Making the fragment self-contained, Encapsulating fragment operations, Understanding fragment setup and display, Avoiding method name confusion, Understanding fragment hide and teardown, Maximizing available resources, Managing a fragment state, Layout, Managing asynchronous creation, Putting it all together
- onDestroy method / Understanding fragment hide and teardown, Maximizing available resources, Managing the swipe fragments, Managing tab selection
- onDestroyView method / Understanding fragment hide and teardown, Maximizing available resources, Managing the swipe fragments
- onDetach method / Understanding fragment hide and teardown, Maximizing available resources, Managing tab selection
- onListItemClick method / Handling ListFragment item selection
- onResume method / Understanding fragment setup and display
- onSaveInstanceState method / Managing a fragment state, Managing the swipe fragments
- onSelectedBookChanged method / Defining the callback interface, Fragment notification, Making the MainActivity class adaptive, Handling ListFragment item selection, Transitioning between fragments, Eliminating redundant handling, Putting it all together
- OnSelectedBookChangeListener interface / Fragment notification
- OnSelectionChangeListener interface / Handling ListFragment item selection
- onStart method / Understanding fragment setup and display
- onStop method / Understanding fragment hide and teardown
- onTabSelected method / Managing tab selection
- onTabUnselected method / Managing tab selection
P
R
S
- screen management / Intentional screen management
- screen size
- screen size qualifiers
- ScrollView element / Defining the activity appearance, Defining the layout as a reusable list, Minimize assumptions, Converting the activity to use fragments
- setAdapter method / Putting the swipe UI into place
- setArguments method / Managing asynchronous creation, Putting it all together
- setBook method / Encapsulating fragment operations, Managing asynchronous creation
- setContentView method / Displaying the activity UI, Understanding fragment setup and display, Adapting to device differences, Putting the swipe UI into place, Connecting the fragments to the tabs
- setCustomAnimations method / Creating the fragment on-the-fly
- setDisplayShowTitleEnabled method / Providing the navigation choices
- setListAdapter method / Associating data with the list
- setListNavigationCallbacks method / Providing the navigation choices
- setNavigationMode method / Providing the navigation choices
- setStyle method / Styles
- setText method / Managing asynchronous creation
- setTitle method / Accessing Dialog related behavior
- show method / DialogFragment display, Wrapping an existing dialog in a fragment
- SimpleTabListener class / Managing tab selection
- smallest width screen size qualifier / Resource screen size qualifiers
- startActivity method / Supporting the back button, Transitioning between fragments
- string-array element / Separating data from display
- Styles / Styles
- swipe
- swipe navigation
- switch statement / Managing fragment selection
T
U
- UI creation
- UI flexibility
V