Now using OkHttp Glide module, also improved the artist image loading and caching.

This commit is contained in:
Karim Abou Zeid 2016-01-04 17:04:47 +01:00
commit 524273228d
8 changed files with 39 additions and 18 deletions

View file

@ -294,7 +294,7 @@ public final class PreferenceUtil {
}
public final int getArtistGridSize(Context context) {
return mPreferences.getInt(ARTIST_GRID_SIZE, context.getResources().getInteger(R.integer.default_grid_columns));
return mPreferences.getInt(ARTIST_GRID_SIZE, context.getResources().getInteger(R.integer.default_list_columns));
}
public void setAlbumGridSizeLand(final int gridSize) {
@ -324,7 +324,7 @@ public final class PreferenceUtil {
}
public final int getArtistGridSizeLand(Context context) {
return mPreferences.getInt(ARTIST_GRID_SIZE_LAND, context.getResources().getInteger(R.integer.default_grid_columns_land));
return mPreferences.getInt(ARTIST_GRID_SIZE_LAND, context.getResources().getInteger(R.integer.default_list_columns_land));
}
public void setAlbumColoredFooters(final boolean value) {