The question is similar to this except for the fact that instead of using a View Pager (VP) I want to use a Navigation Drawer (ND). I have a list of elements that activates
To achieve this requirement, I am calling these two methods from the ActionBarDrawerToggle callback methods:
public void onDrawerOpened() {
if (mActionMode != null) {
mCheckedListItems = mListView.getCheckedItemPositions().clone();
mActionMode.finish();
}
}
public void onDrawerClosed() {
if (mCheckedListItems!=null) {
for (int i=0; i