public class AnimationListActivity extends Activity implements AnimationListFragment.Callbacks
AnimationDetailActivity
representing item details. On tablets, the activity presents the list of
items and item details side-by-side using two vertical panes.
The activity makes heavy use of fragments. The list of items is
AnimationListFragment
and the item details (if present) is
AnimationDetailFragment
.
This activity also implements the required
AnimationListFragment.Callbacks
interface to listen for item
selections.
Constructor and Description |
---|
AnimationListActivity() |
Modifier and Type | Method and Description |
---|---|
void |
onItemSelected(int id)
Callback method from
AnimationListFragment.Callbacks indicating
that the item with the given ID was selected. |
public void onItemSelected(int id)
AnimationListFragment.Callbacks
indicating
that the item with the given ID was selected.onItemSelected
in interface AnimationListFragment.Callbacks