Update dependencies
This commit is contained in:
parent
3493ad40ab
commit
cff50fda3b
4 changed files with 6 additions and 6 deletions
|
@ -487,7 +487,7 @@ class FoldersFragment : AbsMainActivityFragment(R.layout.fragment_folder),
|
|||
}
|
||||
|
||||
private fun setUpRecyclerView() {
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(activity)
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
||||
create(
|
||||
binding.recyclerView
|
||||
)
|
||||
|
|
|
@ -55,7 +55,7 @@ class LibraryPreferenceDialog : DialogFragment() {
|
|||
|
||||
val categoryAdapter = CategoryInfoAdapter()
|
||||
binding.recyclerView.apply {
|
||||
layoutManager = LinearLayoutManager(activity)
|
||||
layoutManager = LinearLayoutManager(requireContext())
|
||||
adapter = categoryAdapter
|
||||
categoryAdapter.attachToRecyclerView(this)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue