Back to project page NavigationDrawerSI.
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.
package mmbialas.pl.navigationdrawersi.data; /* ww w . j av a2s .co m*/ import android.support.v4.app.Fragment; import mmbialas.pl.navigationdrawersi.ui.fragments.FragmentAbout; import mmbialas.pl.navigationdrawersi.ui.fragments.FragmentOne; import mmbialas.pl.navigationdrawersi.ui.fragments.FragmentThree; import mmbialas.pl.navigationdrawersi.ui.fragments.FragmentTwo; /** * Created by Michal Bialas on 19/07/14. * */ public enum Fragments { ONE(FragmentOne.class), TWO(FragmentTwo.class), THREE(FragmentThree.class), ABOUT( FragmentAbout.class); final Class<? extends Fragment> fragment; private Fragments(Class<? extends Fragment> fragment) { this.fragment = fragment; } public String getFragment() { return fragment.getName(); } }