Multiplatform-LiveData icon indicating copy to clipboard operation
Multiplatform-LiveData copied to clipboard

[BUG] Fix iOS addObserver

Open stumi01 opened this issue 5 years ago • 0 comments

Bug Description: When the KLiveData.observe(lifecycle,block) was called from iOS the observer was never notified with the updated values.

Root cause: When calling the addObserver on the iOS actual implementation the KLifecycleAndObserver object was never added to the lifecycleObservers map so when the livedata emits an item the observer list is empty.

stumi01 avatar May 23 '20 10:05 stumi01