Back to project page EnklawaPlayer.
The source code is released under:
GNU General Public License
If you think the Android project EnklawaPlayer 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 macbury.pod.navigation_drawer.items; //from w ww . j a v a 2 s . c om import android.app.Fragment; import android.content.Context; import be.webelite.ion.Icon; import macbury.pod.R; import macbury.pod.fragments.main.episodes.NewestEpisodesFragment; /** * Created by macbury on 11.09.14. */ public class NewestEpisodesNavItem extends NavItemFragment { private NewestEpisodesFragment fragment; public NewestEpisodesNavItem(Context context) { super(context); } @Override public int getColorResource() { return context.getResources().getColor(R.color.newest_episodes); } @Override public String getTitle() { return context.getString(R.string.nav_newest_episodes); } @Override public Icon getIcon() { return Icon.ion_beer; } @Override public Fragment getFragment() { if (fragment == null) { fragment = new NewestEpisodesFragment(); } return fragment; } }