Force replace html dirty text from biography

This commit is contained in:
CappielloAntonio 2021-08-11 16:08:53 +02:00
parent 522323073a
commit 0edd09569e
4 changed files with 38 additions and 20 deletions

View file

@ -34,6 +34,7 @@ public class Artist implements Parcelable {
public boolean favorite;
public String bio;
public String imageUrl;
public String lastfm;
public Artist(ArtistID3 artistID3) {
this.id = artistID3.getId();
@ -67,6 +68,7 @@ public class Artist implements Parcelable {
this.similarArtists = MappingUtil.mapSimilarArtist(artistInfo2.getSimilarArtists());
this.bio = artistInfo2.getBiography();
this.imageUrl = artistInfo2.getLargeImageUrl();
this.lastfm = artistInfo2.getLastFmUrl();
}
public Artist(String id, String name) {
@ -170,6 +172,14 @@ public class Artist implements Parcelable {
this.imageUrl = imageUrl;
}
public String getLastfm() {
return lastfm;
}
public void setLastfm(String lastfm) {
this.lastfm = lastfm;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;