Android Mobile Physical Therapy Exercise Documenter

com.communipatient.amptedapp.ui
Class ExercisesFragment

java.lang.Object
  extended by android.support.v4.app.Fragment
      extended by android.support.v4.app.ListFragment
          extended by com.communipatient.amptedapp.ui.ExercisesFragment
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.View.OnCreateContextMenuListener

public class ExercisesFragment
extends android.support.v4.app.ListFragment

The list fragment that displays all of the exercises.


Nested Class Summary
 
Nested classes/interfaces inherited from class android.support.v4.app.Fragment
android.support.v4.app.Fragment.InstantiationException, android.support.v4.app.Fragment.SavedState
 
Field Summary
private  ExercisePlan exercisePlan
          The ExercisePlan object that was deserialized.
(package private)  int mCurCheckPosition
          The current exercise being displayed.
(package private)  boolean mDualPane
          Flag indicating the view is being displayed as two panes.
private  PersistenceHelper ph
           
 
Constructor Summary
ExercisesFragment()
           
 
Method Summary
 void onActivityCreated(android.os.Bundle savedState)
           
 void onListItemClick(android.widget.ListView l, android.view.View v, int pos, long id)
           
 void onSaveInstanceState(android.os.Bundle outState)
           
 void showDetails(int index)
          Helper function to show the details of a selected item, either by displaying a fragment in-place in the current UI, or starting a whole new activity in which it is displayed.
 
Methods inherited from class android.support.v4.app.ListFragment
getListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, onCreateView, onDestroyView, onViewCreated, setEmptyText, setListAdapter, setListShown, setListShownNoAnimation, setSelection
 
Methods inherited from class android.support.v4.app.Fragment
dump, equals, getActivity, getArguments, getFragmentManager, getId, getLayoutInflater, getLoaderManager, getResources, getRetainInstance, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isVisible, onActivityResult, onAttach, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDetach, onHiddenChanged, onInflate, onLowMemory, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerForContextMenu, setArguments, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setRetainInstance, setTargetFragment, startActivity, startActivityForResult, toString, unregisterForContextMenu
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mDualPane

boolean mDualPane
Flag indicating the view is being displayed as two panes.


mCurCheckPosition

int mCurCheckPosition
The current exercise being displayed.


exercisePlan

private ExercisePlan exercisePlan
The ExercisePlan object that was deserialized.


ph

private PersistenceHelper ph
Constructor Detail

ExercisesFragment

public ExercisesFragment()
Method Detail

onActivityCreated

public void onActivityCreated(android.os.Bundle savedState)
Overrides:
onActivityCreated in class android.support.v4.app.Fragment

onSaveInstanceState

public void onSaveInstanceState(android.os.Bundle outState)
Overrides:
onSaveInstanceState in class android.support.v4.app.Fragment

onListItemClick

public void onListItemClick(android.widget.ListView l,
                            android.view.View v,
                            int pos,
                            long id)
Overrides:
onListItemClick in class android.support.v4.app.ListFragment

showDetails

public void showDetails(int index)
Helper function to show the details of a selected item, either by displaying a fragment in-place in the current UI, or starting a whole new activity in which it is displayed.

Parameters:
index - The index of the exercise to display.

Revision: 109 Generated on Sat Dec 10 07:00:03 UTC 2011