Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NavDrawerItem {
- private String title;
- private int icon;
- private boolean isCounterVisible = false;
- // Constructor class
- public NavDrawerItem(){}
- public NavDrawerItem(String title, int icon){
- this.title = title;
- this.icon = icon;
- }
- public NavDrawerItem(String title, int icon, boolean isCounterVisible){
- this.title = title;
- this.icon = icon;
- this.isCounterVisible = isCounterVisible;
- }
- public String getTitle(){
- return this.title;
- }
- public int getIcon(){
- return this.icon;
- }
- public boolean getCounterVisibility(){
- return this.isCounterVisible;
- }
- public void setTitle(String title){
- this.title = title;
- }
- public void setIcon(int icon){
- this.icon = icon;
- }
- public void setCounterVisible(boolean isCounterVisible){
- this.isCounterVisible = isCounterVisible;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement