Other methods - Navigation Drawer - Material Design

June 30, 2015 ยท View on GitHub

/*{ First item of the position selected from the list }*/
public void setDefaultStartPositionNavigation(int position){}

/*{ get position in the last clicked item list }*/
public int getCurrentPosition(){}

/*{ If not want to use the footer item just put false }*/
public void setFooterNavigationVisible(boolean visible){}

/*{ Item color selected in the list - name and icon }*/
public void setColorSelectedItemNavigation(int colorId){}

/*{ New selector navigation - The default is gray 
There is an example in the drawable folder app - selector_check }*/
public void setNewSelectorNavigation(int drawable){}

/*{ Remove selector navigation }*/
public void removeSelectorNavigation(){}

/*{ Add a new counter }*/
public void setNewCounterValue(int position, int value){}

/*{ Increment the counter (current value + new value) }*/
public void setIncreasingCounterValue(int position, int value){}

/*{ Decrement the counter (current value - new value) }*/
public void setDecreaseCountervalue(int position, int value){}

/*{ Footer icon color - version 1.1.0 }*/    
public void setFooterIconColorNavigation(int colorId){}

/*{ Remove alpha item navigation (use before the setNavigationAdapter) - version 1.1.0}*/
public void removeAlphaItemNavigation(){}

/*{Item color default in the list - name and icon (use before the setNavigationAdapter) - version 1.1.0}*/
public void setColorDefaultItemNavigation(int colorId){}

/*{Item color default in the list - icon (use before the setNavigationAdapter) - version 1.0.3}*/
public void setColorIconItemNavigation(int colorId){}

/*{Item color default in the list - name (use before the setNavigationAdapter) - version 1.0.3}*/    
public void setColorNameItemNavigation(int colorId){}

/*{ Show header default user - version 1.2.0 }*/
public void showDefauldHeader(){}

/*{ remove the default user header - version 1.2.0 }*/    
private void removeDefauldHeader(){}

/*{ add header custom user - version 1.2.0 }*/    
public void addCustomHeader(View v){}

/*{ remove header custom user - version 1.2.0 }*/    
public void removeCustomdHeader(View v){}

/*{ Sets the base elevation of this view, in pixels - version 1.0.2 }*/
public void setElevationToolBar(float elevation){}

/*{ get toolbar }*/
public Toolbar getToolbar() {}

/*{ get DrawerLayout - version 1.1.0 }*/
public DrawerLayout getDrawerLayout() {}