com.gianlu.commonutils.preferences.MaterialAboutPreferenceItem Java Examples

The following examples show how to use com.gianlu.commonutils.preferences.MaterialAboutPreferenceItem. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PreferenceActivity.java    From Aria2App with GNU General Public License v3.0 5 votes vote down vote up
@NonNull
@Override
protected List<MaterialAboutPreferenceItem> getPreferencesItems() {
    return Arrays.asList(new MaterialAboutPreferenceItem(R.string.general, R.drawable.baseline_settings_24, GeneralFragment.class),
            new MaterialAboutPreferenceItem(R.string.profiles, R.drawable.baseline_supervisor_account_24, ProfilesFragment.class),
            new MaterialAboutPreferenceItem(R.string.directDownload, R.drawable.baseline_cloud_download_24, DirectDownloadFragment.class),
            new MaterialAboutPreferenceItem(R.string.notifications, R.drawable.baseline_sms_24, NotificationsFragment.class));
}
 
Example #2
Source File: PreferenceActivity.java    From DNSHero with GNU General Public License v3.0 4 votes vote down vote up
@NonNull
@Override
protected List<MaterialAboutPreferenceItem> getPreferencesItems() {
    return Arrays.asList(new MaterialAboutPreferenceItem(R.string.general, R.drawable.baseline_settings_24, GeneralFragment.class),
            new MaterialAboutPreferenceItem(R.string.favorites, R.drawable.baseline_favorite_24, FavoritesFragment.class));
}
 
Example #3
Source File: PreferenceActivity.java    From Aria2Android with GNU General Public License v3.0 4 votes vote down vote up
@NonNull
@Override
protected List<MaterialAboutPreferenceItem> getPreferencesItems() {
    return Collections.singletonList(new MaterialAboutPreferenceItem(R.string.general, R.drawable.baseline_settings_24, GeneralFragment.class));
}
 
Example #4
Source File: PreferenceActivity.java    From PretendYoureXyzzyAndroid with GNU General Public License v3.0 4 votes vote down vote up
@NonNull
@Override
protected List<MaterialAboutPreferenceItem> getPreferencesItems() {
    return Arrays.asList(new MaterialAboutPreferenceItem(R.string.general, R.drawable.baseline_settings_24, GeneralFragment.class),
            new MaterialAboutPreferenceItem(R.string.googlePlayGames, R.drawable.baseline_videogame_asset_24, GooglePlayGamesFragment.class));
}