Update Gradle wrapper and other dependencies
This commit is contained in:
parent
57b14460dc
commit
c441674943
4 changed files with 9 additions and 8 deletions
|
@ -105,7 +105,7 @@ dependencies {
|
|||
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
||||
implementation 'androidx.annotation:annotation:1.6.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.3.0-rc01'
|
||||
implementation "androidx.preference:preference-ktx:$preference_version"
|
||||
implementation "androidx.core:core-ktx:$core_version"
|
||||
implementation 'androidx.palette:palette-ktx:1.0.0'
|
||||
|
|
|
@ -16,7 +16,7 @@ package code.name.monkey.retromusic.repository
|
|||
|
||||
import android.content.Context
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.Transformations
|
||||
import androidx.lifecycle.map
|
||||
import code.name.monkey.retromusic.*
|
||||
import code.name.monkey.retromusic.db.*
|
||||
import code.name.monkey.retromusic.fragments.search.Filter
|
||||
|
@ -305,7 +305,7 @@ class RealRepository(
|
|||
roomRepository.playCountSongs()
|
||||
|
||||
override fun observableHistorySongs(): LiveData<List<Song>> =
|
||||
Transformations.map(roomRepository.observableHistorySongs()) {
|
||||
roomRepository.observableHistorySongs().map {
|
||||
it.fromHistoryToSongs()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue