Remove SlideListener inside a listener will throw ConcurrentModificationException
Created by: blueberry6401
I have something like
new SlidingUpPanelLayout.SimplePanelSlideListener() {
@Override
public void onPanelStateChanged(...) {
mSlidingLayout.removePanelSlideListener(this);
}
}
This will throw ConcurrentModificationException.