Moved some code to its right place

This commit is contained in:
Karim Abou Zeid 2015-08-18 20:34:40 +02:00
commit 193f716029
2 changed files with 4 additions and 4 deletions

View file

@ -41,6 +41,10 @@ public class PagerAdapter extends FragmentPagerAdapter {
context.getResources().getString(R.string.artists),
context.getResources().getString(R.string.playlists)
};
final MusicFragments[] fragments = MusicFragments.values();
for (final PagerAdapter.MusicFragments fragment : fragments) {
add(fragment.getFragmentClass(), null);
}
}
@SuppressWarnings("synthetic-access")