Android Open Source - NavigationDrawerSI Navigation Drawer Item






From Project

Back to project page NavigationDrawerSI.

License

The source code is released under:

Apache License

If you think the Android project NavigationDrawerSI listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package mmbialas.pl.navigationdrawersi.data.model;
//from   ww  w .  j a  v  a2s . c o  m
/**
 * Created by Michal Bialas on 19/07/14.
 *
 * @author Michal Bialas
 */
public class NavigationDrawerItem {

    private String itemName;

    private int itemIcon;

    private boolean mainItem;

    private boolean selected;

    public NavigationDrawerItem(String itemName, int itemIcon, boolean mainItem) {
        this.itemName = itemName;
        this.itemIcon = itemIcon;
        this.mainItem = mainItem;
    }

    public NavigationDrawerItem(String itemName, boolean mainItem) {
        this(itemName, 0, mainItem);
    }


    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getItemIcon() {
        return itemIcon;
    }

    public void setItemIcon(int itemIcon) {
        this.itemIcon = itemIcon;
    }

    public boolean isMainItem() {
        return mainItem;
    }

    public void setMainItem(boolean mainItem) {
        this.mainItem = mainItem;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

}




Java Source Code List

mmbialas.pl.navigationdrawersi.ApplicationTest.java
mmbialas.pl.navigationdrawersi.data.Fragments.java
mmbialas.pl.navigationdrawersi.data.model.NavigationDrawerItem.java
mmbialas.pl.navigationdrawersi.ui.MainActivity.java
mmbialas.pl.navigationdrawersi.ui.fragments.FragmentAbout.java
mmbialas.pl.navigationdrawersi.ui.fragments.FragmentOne.java
mmbialas.pl.navigationdrawersi.ui.fragments.FragmentThree.java
mmbialas.pl.navigationdrawersi.ui.fragments.FragmentTwo.java
mmbialas.pl.navigationdrawersi.ui.misc.BetterViewAnimator.java
mmbialas.pl.navigationdrawersi.ui.misc.BindableAdapter.java
mmbialas.pl.navigationdrawersi.ui.navigationdrawer.NavigationDrawerAdapter.java
mmbialas.pl.navigationdrawersi.ui.navigationdrawer.NavigationDrawerItemView.java
mmbialas.pl.navigationdrawersi.ui.navigationdrawer.NavigationDrawerView.java