Back to project page hpush.
The source code is released under:
MIT License
If you think the Android project hpush 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.hpush.app.fragments; /* ww w .j av a2 s .c o m*/ import android.content.Context; import android.support.v4.app.Fragment; import com.chopping.application.BasicPrefs; import com.chopping.fragments.AppListFragment; import com.hpush.utils.Prefs; /** * Impl. the list of all external applications. * * @author Xinyue Zhao */ public final class AppListImpFragment extends AppListFragment { /** * New an instance of {@link AppListImpFragment}. * * @param context {@link android.content.Context}. * @return An instance of {@link AppListImpFragment}. */ public static Fragment newInstance(Context context ) { return AppListImpFragment.instantiate(context, AppListImpFragment.class.getName() ); } /** * App that use this Chopping should know the preference-storage. * * @return An instance of {@link com.chopping.application.BasicPrefs}. */ @Override protected BasicPrefs getPrefs() { return Prefs.getInstance(getActivity().getApplication()); } }