Back to project page Joetz-Android-V2.
The source code is released under:
GNU General Public License
If you think the Android project Joetz-Android-V2 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.example.jens.myapplication.main; //w ww .ja v a 2 s .c om /** * Created by Jens on 13/11/2014. */ public class NavMenuSection implements NavDrawerItem { public static final int SECTION_TYPE = 0; private int id; private String label; private NavMenuSection() { } public static NavMenuSection create( int id, String label ) { NavMenuSection section = new NavMenuSection(); section.setLabel(label); return section; } @Override public int getType() { return SECTION_TYPE; } public String getLabel() { return label; } public void setLabel(String label) { this.label = label; } @Override public boolean isEnabled() { return false; } public int getId() { return id; } public void setId(int id) { this.id = id; } @Override public boolean updateActionBarTitle() { return false; } }