Android Open Source - SideNavigation Side Navigation Item






From Project

Back to project page SideNavigation.

License

The source code is released under:

Apache License

If you think the Android project SideNavigation 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 com.devspark.sidenavigation;
/*from   w ww  .jav  a 2  s .c o  m*/
/**
 * Item of side navigation.
 * 
 * @author johnkil
 * 
 */
class SideNavigationItem {

    public static int DEFAULT_ICON_VALUE = -1;

    private int id;
    private String text;
    private int icon = DEFAULT_ICON_VALUE;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

}




Java Source Code List

com.devspark.sidenavigation.ISideNavigationCallback.java
com.devspark.sidenavigation.SideNavigationItem.java
com.devspark.sidenavigation.SideNavigationView.java
com.devspark.sidenavigation.sample.MainActivity.java