Fix crash when selecting dividers on the Nav Drawer

This commit is contained in:
Synced Synapse 2015-01-25 10:57:51 +00:00
parent be49ad29d1
commit be130b85e4
1 changed files with 2 additions and 0 deletions

View File

@ -293,6 +293,8 @@ public class NavigationDrawerFragment extends Fragment {
}
private void selectItem(DrawerItem item, int position) {
if (item.type == DrawerItem.TYPE_DIVIDER) return;
if (mDrawerListView != null) {
mDrawerListView.setItemChecked(position, true);
}