We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have something like
new SlidingUpPanelLayout.SimplePanelSlideListener() { @Override public void onPanelStateChanged(...) { mSlidingLayout.removePanelSlideListener(this); } }
This will throw ConcurrentModificationException.
The text was updated successfully, but these errors were encountered:
Looks like this is because:
private List<PanelSlideListener> mPanelSlideListeners = new ArrayList<>();
Should probably be a CopyOnWriteArrayList http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/CopyOnWriteArrayList.html
CopyOnWriteArrayList
Sorry, something went wrong.
Changed mPanelSlideListeners to a CopyOnWriteArrayList. Addresses uma…
fa0238c
…no#695.
Merge pull request #774 from atomjack/issue695
0f96fb7
Changed mPanelSlideListeners to a CopyOnWriteArrayList. Addresses #695.
No branches or pull requests
I have something like
This will throw ConcurrentModificationException.
The text was updated successfully, but these errors were encountered: