Advertisement
cyter

Updates_for_DrawerItem class

May 21st, 2015
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. public class DrawerItem {
  2.  
  3.       String ItemName;
  4.       int imgResID;
  5.       String title;
  6.       boolean isSpinner;
  7.  
  8. ...
  9.         public DrawerItem(boolean isSpinner) {
  10.             this(null, 0);
  11.             this.isSpinner = isSpinner;
  12.       }
  13.  
  14.       public DrawerItem(String title) {
  15.             this(null, 0);
  16.             this.title = title;
  17.       }
  18.  
  19. ...
  20.       public String getTitle() {
  21.             return title;
  22.       }
  23.       public void setTitle(String title) {
  24.             this.title = title;
  25.       }
  26.  
  27.       public boolean isSpinner() {
  28.             return isSpinner;
  29.       }
  30. ...
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement