SwipeStack
SwipeStack copied to clipboard
problem in get count
hi. great library. i have a problem for getCount of item after swipe and remove item of view!! after remove view count of getCount do not decrease? and when i remove from my list two item of adapter remove. for example if i have 6 item after remove 3 item of my list in swipeRight or left onEmpty method call!!! how can i fix this bug?
you need to get itemCount? No, SwipeStack not decrease it, he just work with view. You can get real itemCount with stackAdapter.getItemCount() - swipeStack.getCurrentPosition