music: add caching
Add caching of already-parsed tag data. This greatly reduces loading times when the music library has not changed. This completes the music loader in it's entirety now. Resolves #207.
This commit is contained in:
@@ -3,6 +3,7 @@ plugins {
|
||||
id "kotlin-android"
|
||||
id "androidx.navigation.safeargs.kotlin"
|
||||
id "com.diffplug.spotless"
|
||||
id "kotlin-kapt"
|
||||
id "kotlin-parcelize"
|
||||
}
|
||||
|
||||
@@ -95,6 +96,12 @@ dependencies {
|
||||
// Preferences
|
||||
implementation "androidx.preference:preference-ktx:1.2.0"
|
||||
|
||||
// Room
|
||||
def room_version = "2.4.3"
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
kapt "androidx.room:room-compiler:$room_version"
|
||||
implementation "androidx.room:room-ktx:$room_version"
|
||||
|
||||
// --- THIRD PARTY ---
|
||||
|
||||
// Exoplayer
|
||||
|
||||
Reference in New Issue
Block a user