Fix a itemTouchHelper rv leak
This commit is contained in:
1 parent
2a19bcd73b
commit
1c88be6f82
1 file changed
+1
@@ -327,6 +327,7 @@ class DownloadsScene :
|
||||
binding.recyclerView.stopScroll()
|
||||
removeAboveSnackView(binding.fabLayout)
|
||||
(binding.fabLayout.parent as ViewGroup).removeView(binding.fabLayout)
|
||||
itemTouchHelper.attachToRecyclerView(null)
|
||||
mViewTransition = null
|
||||
mAdapter = null
|
||||
_binding = null
|
||||
|
||||
Reference in new issue
Block a user