EventBus
EventBus copied to clipboard
some objects get lost
i do submit several object using the post()
method from a service who fetch data from a third part .
( a listener who receive data and send it immediately to an activity using post method)
the activity in question has been registred using register(this)
inside onCreate
function.
in some devices ( slower ones ) , the object never received in onMessageEvent
method .
my scenario :
loop of 100 object to be submitted to the same activity .
display a log before the post call , and inside the onMessageEvent call.
result :
100 lines logged before the post call 75 lines logged inside onMessageEvent
Well, is the activity maybe not subscribed at all times events are posted?
Can't really help with an example so we can reproduce the issue.