Fix loading songs after permission granted
This commit is contained in:
parent
2892c42628
commit
6d9860016e
8 changed files with 27 additions and 20 deletions
|
@ -15,7 +15,7 @@ class AlbumsFragment :
|
|||
AbsLibraryPagerRecyclerViewCustomGridSizeFragment<AlbumAdapter, GridLayoutManager>(),
|
||||
MainActivityFragmentCallbacks {
|
||||
|
||||
lateinit var albumViewModel: AlbumViewModel
|
||||
private lateinit var albumViewModel: AlbumViewModel
|
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
|
|
|
@ -17,7 +17,7 @@ class SongsFragment :
|
|||
AbsLibraryPagerRecyclerViewCustomGridSizeFragment<SongAdapter, GridLayoutManager>(),
|
||||
MainActivityFragmentCallbacks {
|
||||
|
||||
lateinit var songViewModel: SongsViewModel
|
||||
private lateinit var songViewModel: SongsViewModel
|
||||
|
||||
override val emptyMessage: Int
|
||||
get() = R.string.no_songs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue