0

I checked this, and understood that recyclerView inside scrollView creates issues. But in my use case, i have to use recyclerView inside an scrollView

and i am facing the same issue, on activity start it tries to create layout for all of the item, and it freezes the UI.

I need to know if there is some way to restrict recyclerView to load specific number of item at a time.

dev90
  • 7,187
  • 15
  • 80
  • 153
  • 2
    You never, ever **have** to use a `RecyclerView` in a `ScrollView`. There's even [whole APIs](https://medium.com/androiddevelopers/merge-adapters-sequentially-with-mergeadapter-294d2942127a) dedicated to letting you put headers and footers on your `RecyclerView`. – ianhanniballake Mar 21 '21 at 23:19
  • I am trying to implement bracketView, which can only be possible with nested scrollView, check following on github. https://github.com/Emil333/TournamentBrackets – dev90 Mar 22 '21 at 07:12

0 Answers0