mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-20 00:55:20 +01:00
ViewBinding in some Adapter classes which are using one layout
This commit is contained in:
parent
77e1c653be
commit
2055795c99
8 changed files with 131 additions and 150 deletions
|
@ -55,7 +55,6 @@ class LibraryPreferenceDialog : DialogFragment() {
|
|||
.inflate(R.layout.preference_dialog_library_categories, null)
|
||||
|
||||
val categoryAdapter = CategoryInfoAdapter()
|
||||
categoryAdapter.categoryInfos = PreferenceUtil.libraryCategory
|
||||
val recyclerView = view.findViewById<RecyclerView>(R.id.recycler_view)
|
||||
recyclerView.layoutManager = LinearLayoutManager(activity)
|
||||
recyclerView.adapter = categoryAdapter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue