clear the song and artist view when the player is destroyed
This commit is contained in:
parent
e2dc35d1db
commit
0f88a3c9b6
1 changed files with 3 additions and 0 deletions
|
@ -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("");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue