Back to project page android-drawerlayout.
The source code is released under:
MIT License
If you think the Android project android-drawerlayout listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.tutecentral.navigationdrawer; /*from w w w .ja va 2s . c o m*/ public class DrawerItem { String ItemName; int imgResID; String title; boolean isSpinner; public DrawerItem(String itemName, int imgResID) { ItemName = itemName; this.imgResID = imgResID; } public DrawerItem(boolean isSpinner) { this(null, 0); this.isSpinner = isSpinner; } public DrawerItem(String title) { this(null, 0); this.title = title; } public String getItemName() { return ItemName; } public void setItemName(String itemName) { ItemName = itemName; } public int getImgResID() { return imgResID; } public void setImgResID(int imgResID) { this.imgResID = imgResID; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public boolean isSpinner() { return isSpinner; } }