only update media title if there is one & update exoplayer to 2.13.2
This commit is contained in:
parent
fad64ad385
commit
a07f291098
|
@ -53,10 +53,10 @@ dependencies {
|
||||||
|
|
||||||
implementation 'com.google.android.material:material:1.3.0'
|
implementation 'com.google.android.material:material:1.3.0'
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
implementation 'com.google.android.exoplayer:exoplayer-core:2.13.1'
|
implementation 'com.google.android.exoplayer:exoplayer-core:2.13.2'
|
||||||
implementation 'com.google.android.exoplayer:exoplayer-hls:2.13.1'
|
implementation 'com.google.android.exoplayer:exoplayer-hls:2.13.2'
|
||||||
implementation 'com.google.android.exoplayer:exoplayer-dash:2.13.1'
|
implementation 'com.google.android.exoplayer:exoplayer-dash:2.13.2'
|
||||||
implementation 'com.google.android.exoplayer:exoplayer-ui:2.13.1'
|
implementation 'com.google.android.exoplayer:exoplayer-ui:2.13.2'
|
||||||
|
|
||||||
implementation 'org.jsoup:jsoup:1.13.1'
|
implementation 'org.jsoup:jsoup:1.13.1'
|
||||||
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
||||||
|
|
|
@ -74,8 +74,10 @@ class MediaFragment(private val mediaId: Int) : Fragment() {
|
||||||
override fun onResume() {
|
override fun onResume() {
|
||||||
super.onResume()
|
super.onResume()
|
||||||
|
|
||||||
// update the next ep text, since it may have changed
|
// update the next ep text if there is one, since it may have changed
|
||||||
binding.textTitle.text = model.nextEpisode.title
|
if (model.nextEpisode.title.isNotEmpty()) {
|
||||||
|
binding.textTitle.text = model.nextEpisode.title
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue