public DrawerView selectItemById(long id) {
        mAdapterFixed.clearSelection();

        int count = mAdapter.getCount();
        for (int i = 0; i < count; i++) {
            if (mAdapter.getItem(i).getId() == id) {
                mAdapter.select(i);
                return this;
            }
        }
        return this;
    }
public DrawerView selectItemById ( long id ) { mAdapterFixed . clearSelection ( ) ; int count = mAdapter . getCount ( ) ; for ( int i = 0 ; i < count ; i ++ ) { if ( mAdapter . getItem ( i ) . getId ( ) == id ) { mAdapter . select ( i ) ; return this ; } } return this ; }
Selects an item from the drawer view

@param id The item ID