Bugfixes
- Song duration textview size fix - <unknown> artist image fix
This commit is contained in:
parent
11ee05ce64
commit
b47f25a969
3 changed files with 3 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ public class LastFMArtistImageUrlLoader {
|
|||
public static final String TAG = LastFMArtistImageUrlLoader.class.getSimpleName();
|
||||
|
||||
public static void loadArtistImageUrl(final Context context, String queryArtist, boolean forceDownload, final ArtistImageUrlLoaderCallback callback) {
|
||||
if (queryArtist != null) {
|
||||
if (queryArtist != null && !queryArtist.trim().equals("<unknown>")) {
|
||||
String artistJSON = ArtistJSONStore.getInstance(context).getArtistJSON(queryArtist);
|
||||
if (artistJSON != null && !forceDownload) {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public class LastFMArtistThumbnailUrlLoader {
|
|||
public static final String TAG = LastFMArtistThumbnailUrlLoader.class.getSimpleName();
|
||||
|
||||
public static void loadArtistThumbnailUrl(final Context context, String queryArtist, boolean forceDownload, final ArtistThumbnailUrlLoaderCallback callback) {
|
||||
if (queryArtist != null) {
|
||||
if (queryArtist != null && !queryArtist.trim().equals("<unknown>")) {
|
||||
String artistJSON = ArtistJSONStore.getInstance(context).getArtistJSON(queryArtist);
|
||||
if (artistJSON != null && !forceDownload) {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -33,9 +33,8 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/song_duration"
|
||||
android:layout_width="40dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:layout_gravity="center"
|
||||
android:fontFamily="sans-serif"
|
||||
android:gravity="center"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue