My cards are generated based on the position of the recyclerview clicked...So when I click the last item from recyclerview , cards are generated (list is reversed and passed to adapter) and I set the current card to last item using setCurrentItem() but when i scroll backwards, I face a few "invisible cards", it doesnt happen when I select first item in recyclerview though.
My cards are generated based on the position of the recyclerview clicked...So when I click the last item from recyclerview , cards are generated (list is reversed and passed to adapter) and I set the current card to last item using
setCurrentItem()
but when i scroll backwards, I face a few "invisible cards", it doesnt happen when I select first item in recyclerview though.Thanks.