clear the song and artist view when the player is destroyed

This commit is contained in:
tibbi 2016-06-13 14:53:01 +02:00
parent e2dc35d1db
commit 0f88a3c9b6

View file

@ -124,6 +124,9 @@ public class MainActivity extends AppCompatActivity
if (song != null) {
titleTV.setText(song.getTitle());
artistTV.setText(song.getArtist());
} else {
titleTV.setText("");
artistTV.setText("");
}
}