mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Moved HTML info decoding in its own static class
This commit is contained in:
parent
02e68f7ba7
commit
5f0427598f
25 changed files with 71 additions and 40 deletions
|
|
@ -48,8 +48,8 @@ public class PlayerSongQueueAdapter extends RecyclerView.Adapter<PlayerSongQueue
|
|||
public void onBindViewHolder(ViewHolder holder, int position) {
|
||||
Song song = songs.get(position);
|
||||
|
||||
holder.songTitle.setText(Html.fromHtml(song.getTitle(), Html.FROM_HTML_MODE_COMPACT));
|
||||
holder.songArtist.setText(Html.fromHtml(song.getArtistName(), Html.FROM_HTML_MODE_COMPACT));
|
||||
holder.songTitle.setText(MusicUtil.getReadableInfo(song.getTitle()));
|
||||
holder.songArtist.setText(MusicUtil.getReadableInfo(song.getArtistName()));
|
||||
holder.songDuration.setText(MusicUtil.getReadableDurationString(song.getDuration(), false));
|
||||
|
||||
CustomGlideRequest.Builder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue