I have a question because of the recyclerview issue.
My recyclerview structure is like the picture below
No. 2 and No. 3 are overlapped with the recycler view. No. 3 inside the recycler view,
Recycler view 3 uses a recycler view that scrolls infinitely. When you first load an item, scrolling is normal, but when you add an item later, the recycler view scrolls slowly and stutters.
I looked at the profiler, but the cpu, memory, etc. are not particularly strange.
If you don't use nested recycler view, scrolling works normally, but you have to use recycler view 3 inside recycler view 2 for modularity
I've googled a lot and looked at various materials, but nothing has changed. If you have a solution, could you please share it with me?
No matter how much I think about it, I think there is an issue where the recycler view is not reused.So I checked with the following code, and the log is showing normally.
private fun setupRecyclerView() { recyclerView.apply { setRecyclerListener { println("=========== View is reused in $it") } } }
From the log, it seems that the viewHolder is reused every time.