Updated Kotlin & Room

This commit is contained in:
Prathamesh More 2021-11-24 01:39:15 +05:30
parent 4fbcb5d77f
commit 16f76bc12d
3 changed files with 3 additions and 2 deletions

View file

@ -72,6 +72,7 @@ interface Repository {
suspend fun genresHome(): Home
suspend fun playlists(): Home
suspend fun homeSections(): List<Home>
@ExperimentalCoroutinesApi
suspend fun homeSectionsFlow(): Flow<Result<List<Home>>>
suspend fun playlist(playlistId: Long): Playlist
suspend fun fetchPlaylistWithSongs(): List<PlaylistWithSongs>