skip to Main Content

why when used nested scrollview performance goes down and frame scroll slow ? what is solution?

when i use nested scroll view for many data that load in nested , performance go low

2

Answers


  1. If you have RecyclerView inside your NestedScrollView and RecyclerView attribute android:nestedScrollingEnabled="false" will make the onBindViewHolder called for all the items at once and the items will not get recycled. This may cause a serious performance issue especially for big datas.

    Login or Signup to reply.
  2. To improve performance, consider using a different layout structure or implementing pagination to load data in smaller batches. Additionally, using the RecyclerView instead of ListView can improve performance.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search