RxMusicPlayer-android
RxMusicPlayer-android copied to clipboard
Notification: close action
Close action to stop the playback, and remove notification (and finish the activity).
Just call these 2 lines of code to stop playback and remove notification
RxMusicPlayer.action.onNext(Action.stop()) RxMusicPlayer.state.onNext(PlaybackState.stopped())