android-advancedrecyclerview icon indicating copy to clipboard operation
android-advancedrecyclerview copied to clipboard

remove empty Adpter from composedAdpter error

Open alacoo opened this issue 6 years ago • 0 comments

i can't remove Adapter using composedAdapter.removeAdapter(tag); when adapter own tag is empty (have no items) it's throw this java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.get(ArrayList.java:411) at com.h6ah4i.android.widget.advrecyclerview.composedadapter.AdaptersSet.getAdapter(AdaptersSet.java:106) my problem happen when i remove the first adapter , i think it's an animation issus

alacoo avatar Aug 21 '18 03:08 alacoo