Android Open Source - welcome-android Nav Drawer Item






From Project

Back to project page welcome-android.

License

The source code is released under:

Copyright (c) 2014 FeedHenry Ltd, All Rights Reserved Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...

If you think the Android project welcome-android 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.feedhenry.android.drawer.model;
/*from w ww .j ava  2 s. com*/
public class NavDrawerItem {
  
  private String title;
  private String count = "0";
  // boolean to set visiblity of the counter
  private boolean isCounterVisible = false;
  
  public NavDrawerItem(){}

  public NavDrawerItem(String title){
    this.title = title;
  }
  
  public NavDrawerItem(String title, boolean isCounterVisible, String count){
    this.title = title;
    this.isCounterVisible = isCounterVisible;
    this.count = count;
  }
  
  public String getTitle(){
    return this.title;
  }
  
  public String getCount(){
    return this.count;
  }
  
  public boolean getCounterVisibility(){
    return this.isCounterVisible;
  }
  
  public void setTitle(String title){
    this.title = title;
  }
  
  public void setCount(String count){
    this.count = count;
  }
  
  public void setCounterVisibility(boolean isCounterVisible){
    this.isCounterVisible = isCounterVisible;
  }
}




Java Source Code List

com.feedhenry.android.MainActivity.java
com.feedhenry.android.MyApplication.java
com.feedhenry.android.drawer.adapter.NavDrawerListAdapter.java
com.feedhenry.android.drawer.model.NavDrawerItem.java
com.feedhenry.android.fragments.CallCloudFragment.java
com.feedhenry.android.fragments.CloudIntegrationsFragment.java
com.feedhenry.android.fragments.DataBrowserFragment.java
com.feedhenry.android.fragments.HomeFragment.java
com.feedhenry.android.fragments.LocationFragment.java
com.feedhenry.android.fragments.NativeAppInfoFragment.java
com.feedhenry.android.fragments.PushNotificationsFragment.java
com.feedhenry.android.fragments.StatsFragment.java
com.feedhenry.android.server.FHAgent.java
com.feedhenry.android.utilities.KeyboardToggle.java
com.feedhenry.android.utilities.MyLocation.java
com.feedhenry.android.utilities.MyToast.java