loopeer / CardStackView

One Custom view for show something just like cards with animations.
2.18k stars 343 forks source link

Error report #12

Closed Actisoft1 closed 7 years ago

Actisoft1 commented 7 years ago

Hi, I've got an error on method: getViewHolder. When there is no element on mViewHolders and you try to get the element in position 0 there is an error. (May be there error is for any position = mViewHolders.size())

if (mViewHolders.size() <= i || mViewHolders.get(i).mItemViewType != mStackAdapter.getItemViewType(i)) {

Do I miss anythings?!? Thank's Christian