use static variables for all preference keys
This commit is contained in:
parent
ad9a00657b
commit
690dfb0c10
7 changed files with 28 additions and 27 deletions
|
|
@ -35,7 +35,7 @@ public class MusicLibraryPagerAdapter extends FragmentPagerAdapter {
|
|||
public MusicLibraryPagerAdapter(@NonNull final Context context, final FragmentManager fragmentManager) {
|
||||
super(fragmentManager);
|
||||
mContext = context;
|
||||
setCategoryInfos(PreferenceUtil.getInstance(context).getLibraryCategories());
|
||||
setCategoryInfos(PreferenceUtil.getInstance(context).getCategories());
|
||||
}
|
||||
|
||||
public void setCategoryInfos(@NonNull List<CategoryInfo> categoryInfos) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue