diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-07-09 08:37:54 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-07-09 08:37:54 -0700 |
commit | b2c79de472485c9579789289d599c9d42f575564 (patch) | |
tree | 7d5945a3856c45b516048e1b06adce46b6d2422f /src | |
parent | 9e44860e3758f9d736c63934897a5d61e4fa9e17 (diff) | |
download | dsub-b2c79de472485c9579789289d599c9d42f575564.tar.gz dsub-b2c79de472485c9579789289d599c9d42f575564.tar.bz2 dsub-b2c79de472485c9579789289d599c9d42f575564.zip |
Fix issue with recycling between movies and songs
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/view/SongView.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/view/SongView.java b/src/github/daneren2005/dsub/view/SongView.java index 3e423877..e6156ceb 100644 --- a/src/github/daneren2005/dsub/view/SongView.java +++ b/src/github/daneren2005/dsub/view/SongView.java @@ -48,6 +48,7 @@ public class SongView extends UpdateView implements Checkable { private TextView durationTextView; private TextView statusTextView; private ImageView statusImageView; + private View bottomRowView; private DownloadService downloadService; private long revision = -1; @@ -80,6 +81,7 @@ public class SongView extends UpdateView implements Checkable { v.showContextMenu(); } }); + bottomRowView = findViewById(R.id.song_bottom); } public void setObjectImpl(Object obj1, Object obj2) { @@ -120,8 +122,9 @@ public class SongView extends UpdateView implements Checkable { } durationTextView.setText(Util.formatDuration(song.getDuration())); + bottomRowView.setVisibility(View.VISIBLE); } else { - findViewById(R.id.song_bottom).setVisibility(View.GONE); + bottomRowView.setVisibility(View.GONE); statusTextView.setText(Util.formatDuration(song.getDuration())); } |