Update RecyclerView item layouts

Update the song/album items to have the cover art be loaded by a BindingAdapter, and remove unnecessary chains.
This commit is contained in:
OxygenCobalt
2020-08-29 09:05:00 -06:00
parent 53710ca3f0
commit c8f7419833
12 changed files with 50 additions and 56 deletions
+6 -12
View File
@@ -46,7 +46,7 @@ dependencies {
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
// Support
// --- SUPPORT ---
implementation 'androidx.core:core-ktx:1.3.1'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0'
@@ -56,21 +56,15 @@ dependencies {
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
// Lifecycle
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
// Viewpager
implementation 'androidx.viewpager2:viewpager2:1.0.0'
// --- THIRD PARTY ---
// Image loading
implementation("io.coil-kt:coil:0.12.0")
/*
// Room Database
def room_version = "2.2.5"
kapt "androidx.room:room-compiler:$room_version"
implementation "androidx.room:room-runtime:$room_version"
*/
// Lifecycle
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation 'io.coil-kt:coil:0.12.0'
// Lint
ktlint "com.pinterest:ktlint:0.37.2"