RxMusicPlayer-android icon indicating copy to clipboard operation
RxMusicPlayer-android copied to clipboard

Notification: close action

Open enricocid opened this issue 4 years ago • 1 comments

Close action to stop the playback, and remove notification (and finish the activity).

enricocid avatar Aug 23 '19 18:08 enricocid

Just call these 2 lines of code to stop playback and remove notification

RxMusicPlayer.action.onNext(Action.stop()) RxMusicPlayer.state.onNext(PlaybackState.stopped())

pawelLaz avatar Nov 12 '19 15:11 pawelLaz