GCX-HCI / ThirtyInch

a MVP library for Android favoring a stateful Presenter
Apache License 2.0
1.03k stars 101 forks source link

Always call observer for events which happend when they were registered #94

Closed passsy closed 7 years ago

passsy commented 7 years ago

It happend that an observer removes another observer. This resulted in not calling the removed observer when the observer was registered after the removing observer.

Basically, don't change the list while iterating over it.