Open eakteam opened 6 years ago
Are you using threads in your application?
Yes i'm using threads in my App
Is it possible for two threads to add points simultaneously in your app?
On Wed, 3 Jan 2018, 15:24 Emin Kokalari, notifications@github.com wrote:
Yes i'm using threads in my App
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PhilJay/MPAndroidChart/issues/3702#issuecomment-355038655, or mute the thread https://github.com/notifications/unsubscribe-auth/AFV2wgarszVG4rgOSatZoZb1FzHEqVqLks5tG5uUgaJpZM4RPnIh .
I depends, i understand what is ConcurrentModificationException but how to fix inside library... Maybe with a CopyOnWriteArrayList<> , but how to make modification on the lib ?
I don't think you should meddle with the library - you should make a wrapper function and have it synchronise.
On Thu, 4 Jan 2018, 22:17 Emin Kokalari, notifications@github.com wrote:
I depends, i understand what is ConcurrentModificationException but how to fix inside library... Maybe with a CopyOnWriteArrayList<> , but how to make modification on the lib ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PhilJay/MPAndroidChart/issues/3702#issuecomment-355414873, or mute the thread https://github.com/notifications/unsubscribe-auth/AFV2wl1hxl9DzA3w2GG5t-cFPSen75ACks5tHU38gaJpZM4RPnIh .
I also have this issue in version 3.1.0, so it is the lib's bug?