Marco

Results 408 comments of Marco

Thanks for your report! Can you share what you're actually doing in that `onDataAdded` callback with respect to this library?

Sorry, that doesn't really help. It would be necessary to see what exactly you're doing in that callback. Of course, you can and should remove everything that is not related...

@kschingiz Thanks a lot for these additional pieces of information! > It happened if we are trying to add documents to collection in one thread and iterating over it in...

@kschingiz I know you didn't. That's why I added another paragraph after that. I just wanted to confirm you really aren't doing this. As far as I can see, the...

Is the data read and written in different threads here? Do we have to fix synchronization perhaps?

@musriabhijit @kschingiz @najeebullahshah Really sorry for not having a solution to this problem available yet! Still, this could be something that we could do here: > As far as I...

@musriabhijit @kschingiz Please try changing your dependency to ``` compile 'com.github.delight-im:Android-DDP:d09cbe43f824846a9cb3ad4eecd2fd1b1a8d73b5' ``` which does two things: * It uses `ConcurrentHashMap` instead of `HashMap` in `InMemoryDatabase`. * It uses `ConcurrentHashMap` instead...

@najeebullahshah For you, personally, the fix from https://github.com/delight-im/Android-DDP/issues/125 is probably more relevant, as that was the issue you reported. Unfortunately, you can only test one of the fixes at a...

@najeebullahshah Yes, let's continue this discussion in the other issue's thread. This issue here is only relevant for @musriabhijit and @kschingiz who found a different bug.