mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-14 00:27:13 +00:00
lib-version upgrade, etc
This commit is contained in:
parent
afd53d2053
commit
ed54f58fc0
3 changed files with 5 additions and 5 deletions
|
@ -31,9 +31,9 @@ allprojects {
|
|||
ext{
|
||||
compileSdkVersion = 27
|
||||
buildToolsVersion = "27.0.0"
|
||||
supportLibraryVersion = "27.0.0"
|
||||
supportLibraryVersion = "27.0.1"
|
||||
constraintLayoutVersion = "1.0.2"
|
||||
archCompVersion = "1.0.0-rc1"
|
||||
archCompVersion = "1.0.0"
|
||||
minSDK = 22
|
||||
targetSDK = 27
|
||||
}
|
||||
|
|
|
@ -65,10 +65,10 @@ dependencies {
|
|||
|
||||
// implementation "android.arch.lifecycle:runtime:1.0.3"
|
||||
implementation "android.arch.lifecycle:extensions:${rootProject.ext.archCompVersion}"
|
||||
implementation "android.arch.lifecycle:common-java8:1.0.0-rc1"
|
||||
implementation "android.arch.lifecycle:common-java8:1.0.0"
|
||||
implementation "android.arch.persistence.room:runtime:${rootProject.ext.archCompVersion}"
|
||||
implementation "android.arch.persistence.room:rxjava2:${rootProject.ext.archCompVersion}"
|
||||
kapt 'com.android.databinding:compiler:3.1.0-alpha01'
|
||||
kapt 'com.android.databinding:compiler:3.1.0-alpha03'
|
||||
kapt "android.arch.lifecycle:compiler:${rootProject.ext.archCompVersion}"
|
||||
// kapt "android.arch.persistence.room:compiler:${rootProject.ext.archCompVersion}"
|
||||
implementation "org.jetbrains.kotlin:kotlin-reflect:1.1.50"
|
||||
|
|
|
@ -9,7 +9,7 @@ object Util {
|
|||
val result = ArrayList<PersistentRecording>()
|
||||
|
||||
result.addAll(recordings.filter { it.isHighQuality && it.mimeType == "video/mp4" }.sortedBy { it.language.length })
|
||||
result.addAll(recordings.filter { it.mimeType == "video/mp4" }.sortedBy { it.language.length })
|
||||
result.addAll(recordings.filter { !it.isHighQuality && it.mimeType == "video/mp4" }.sortedBy { it.language.length })
|
||||
result.addAll(recordings.filter { it.mimeType.startsWith("video/") }.sortedBy { it.language.length })
|
||||
|
||||
when {
|
||||
|
|
Loading…
Reference in a new issue