public static interface DrawerAdapter.DrawerListener
Modifier and Type | Method and Description |
---|---|
void |
onDrawerElementSelected(int selectedElementIndex,
int selectedSubElementIndex)
Called when a navigation drawer element is selected
|
void onDrawerElementSelected(int selectedElementIndex, int selectedSubElementIndex)
selectedElementIndex
- the element selectedselectedSubElementIndex
- the sub-element selected (possibly -1 if the user clicked a main element)