Update dependencies
This commit is contained in:
parent
3493ad40ab
commit
cff50fda3b
4 changed files with 6 additions and 6 deletions
|
@ -94,7 +94,7 @@ dependencies {
|
|||
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
||||
implementation 'androidx.annotation:annotation:1.4.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.3.0-beta01'
|
||||
implementation "androidx.preference:preference-ktx:$preference_version"
|
||||
implementation "androidx.core:core-ktx:$core_version"
|
||||
implementation 'androidx.palette:palette-ktx:1.0.0'
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
buildscript {
|
||||
ext {
|
||||
kotlin_version = '1.7.0'
|
||||
lifecycle_version='2.5.0-rc02'
|
||||
navigation_version = '2.5.0-rc02'
|
||||
lifecycle_version = '2.5.0'
|
||||
navigation_version = '2.5.0'
|
||||
mdc_version = '1.7.0-alpha02'
|
||||
preference_version = '1.2.0'
|
||||
appcompat_version = '1.4.2'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue