mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-02 11:58:27 +00:00
Updated to Kotlin 1.2.0 and ExoPlayer 2.6.0
This commit is contained in:
parent
903ebfdbe4
commit
2942b81a2c
@ -88,8 +88,8 @@ dependencies {
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.1.6'
|
||||
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
||||
implementation 'io.reactivex.rxjava2:rxkotlin:2.1.0'
|
||||
implementation 'com.google.android.exoplayer:exoplayer:r2.5.4'
|
||||
implementation 'com.google.android.exoplayer:extension-okhttp:r2.5.4'
|
||||
implementation 'com.google.android.exoplayer:exoplayer:2.6.0'
|
||||
implementation 'com.google.android.exoplayer:extension-okhttp:2.6.0'
|
||||
implementation 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
|
||||
implementation 'com.facebook.stetho:stetho:1.5.0'
|
||||
implementation 'com.github.wooplr:Spotlight:1.2.3'
|
||||
|
@ -236,6 +236,12 @@ class ExoPlayerWrapper : PlayerWrapper() {
|
||||
override fun onLoadingChanged(isLoading: Boolean) {
|
||||
}
|
||||
|
||||
override fun onSeekProcessed() {
|
||||
}
|
||||
|
||||
override fun onShuffleModeEnabledChanged(shuffleModeEnabled: Boolean) {
|
||||
}
|
||||
|
||||
override fun onPlayerStateChanged(playWhenReady: Boolean, playbackState: Int) {
|
||||
Preconditions.throwIfNotOnMainThread()
|
||||
|
||||
@ -286,7 +292,7 @@ class ExoPlayerWrapper : PlayerWrapper() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onPositionDiscontinuity() {
|
||||
override fun onPositionDiscontinuity(type: Int) {
|
||||
}
|
||||
|
||||
override fun onPlaybackParametersChanged(playbackParameters: PlaybackParameters) {
|
||||
|
@ -213,6 +213,12 @@ class GaplessExoPlayerWrapper : PlayerWrapper() {
|
||||
override fun onLoadingChanged(isLoading: Boolean) {
|
||||
}
|
||||
|
||||
override fun onSeekProcessed() {
|
||||
}
|
||||
|
||||
override fun onShuffleModeEnabledChanged(shuffleModeEnabled: Boolean) {
|
||||
}
|
||||
|
||||
override fun onPlayerStateChanged(playWhenReady: Boolean, playbackState: Int) {
|
||||
Preconditions.throwIfNotOnMainThread()
|
||||
|
||||
@ -263,7 +269,7 @@ class GaplessExoPlayerWrapper : PlayerWrapper() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onPositionDiscontinuity() {
|
||||
override fun onPositionDiscontinuity(type: Int) {
|
||||
/* window index corresponds to the position of the current song in
|
||||
the queue. the current song should always be 0! if it's not, then
|
||||
that means we advanced to the next one... */
|
||||
|
@ -1,5 +1,5 @@
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.1.61'
|
||||
ext.kotlin_version = '1.2.0'
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
|
Loading…
Reference in New Issue
Block a user