freezy / freezy/android-xbmcremote
Mixed up Button Actions in Album Details
- Dominant language
- Java
- Stars
- 364
- Forks
- 247
- PR merge metrics
- No merged PRs in 30d
Description
The Actions of the 'Play' and 'Queue' Button in DialogFactory.java / getAlbumDetail() are mixed up.
The Play button queues an album, the queue button plays the album ;)
``` java
queueButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
musicManager.play(new DataResponse(), album, context);
}
});
playButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
musicManager.addToPlaylist(new DataResponse(), album, context);
}
});
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Open DialogFactory.java and inspect getAlbumDetail(), focusing on the click listeners for the Play and Queue buttons. Correct the actions so Play plays the album and Queue adds it to the playlist, then verify both buttons behave accordingly in the album details dialog.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100