1

Is it suggested to use a recyclerView inside another cardview? Would it be any performance issues with this? Please let me know if anyone has used something of the same scenario?

sushant kunal
  • 191
  • 1
  • 1
  • 9
  • Did you try implementing it? – Mohammed Ali Mar 24 '15 at 08:12
  • Currently, I am having a list view inside the cardview item. And I was thinking of replacing it with recyclerview. Primarily, beacuse the cardview in my situation with the listview inside it, does drag and gets stuck somewhat while scrolling. – sushant kunal Mar 24 '15 at 08:15
  • 1
    Try implementing View holder pattern for `ListView`. Check this: http://developer.android.com/training/improving-layouts/smooth-scrolling.html#ViewHolder and this: http://stackoverflow.com/q/19289812/3879470 – Mohammed Ali Mar 24 '15 at 08:19
  • CardView is basically a FrameLayout with a custom background. What issues do you expect? – rciovati Mar 24 '15 at 08:57

0 Answers0