public class AutoLayoutAbsListViewFragment extends AbsListViewFragment
| Constructor and Description |
|---|
AutoLayoutAbsListViewFragment() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCreateOptionsMenu(Menu menu,
MenuInflater inflater) |
View |
onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState)
Provide default implementation to return a simple list view.
|
getListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, onDestroyView, onListItemClick, onViewCreated, setEmptyText, setListAdapter, setListShown, setListShownNoAnimation, setSelectionpublic View onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState)
AbsListViewFragmentandroid.R.id.list and can optionally
have a sibling view id android.R.id.empty
that is to be shown when the list is empty.
If you are overriding this method with your own custom content,
consider including the standard layout android.R.layout#list_content
in your layout file, so that you continue to retain all of the standard
behavior of ListFragment. In particular, this is currently the only
way to have the built-in indeterminant progress state be shown.
onCreateView in class AbsListViewFragmentpublic void onCreateOptionsMenu(Menu menu,
MenuInflater inflater)