org.solovyev.android.sherlock
Class ActionBarNavigationFragmentListener<T extends Fragment>
java.lang.Object
org.solovyev.android.sherlock.ActionBarNavigationFragmentListener<T>
- All Implemented Interfaces:
- ActionBar.OnNavigationListener
public class ActionBarNavigationFragmentListener<T extends Fragment>
- extends Object
- implements ActionBar.OnNavigationListener
User: serso
Date: 8/7/12
Time: 12:01 PM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionBarNavigationFragmentListener
public ActionBarNavigationFragmentListener(@Nonnull
SherlockFragmentActivity activity,
@Nonnull
List<? extends FragmentItem> items,
@Nonnull
List<String> itemLabels)
getAdapter
@Nonnull
public ListAdapter getAdapter()
onNavigationItemSelected
public boolean onNavigationItemSelected(int itemPosition,
long itemId)
- Description copied from interface:
ActionBar.OnNavigationListener
- This method is called whenever a navigation item in your action bar
is selected.
- Specified by:
onNavigationItemSelected in interface ActionBar.OnNavigationListener
- Parameters:
itemPosition - Position of the item clicked.itemId - ID of the item clicked.
- Returns:
- True if the event was handled, false otherwise.
Copyright © 2014 se.solovyev. All Rights Reserved.