Reputation: 11
I m developing android app since 1 year its working fine but now some strange behavior. Recycler view displaying multiple card on screen (6 card in one page) but when I am scrolling it is displaying only one card on top and blank after showing card . I didn't torched code I m using wrap content in recycler view.recyclerview is coming correct but after scorning new cardview means 7 number is coming in full page next in full page and same see image...-- image 1
Upvotes: 1
Views: 291
Reputation: 168
For the custom layout that you are using please set height of parent layout to be WRAP_CONTENT. Hope that helps
Upvotes: 1