You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In source code, BackgroundPoster and HandlerPoster use PendingPostQueue to store events, but in EventBus use ArrayList to store events. Why not use the same queue as Handler?
The text was updated successfully, but these errors were encountered:
In source code, BackgroundPoster and HandlerPoster use PendingPostQueue to store events, but in EventBus use ArrayList to store events. Why not use the same queue as Handler?
the reason of use arraylist is it only need to store the events , and traverse the eventTypes to get the event ,then give the event to subscriptionsByEventType ,finally get the subscriptionList.
he don't have to keep the order of first-in first-out.
In source code, BackgroundPoster and HandlerPoster use PendingPostQueue to store events, but in EventBus use ArrayList to store events. Why not use the same queue as Handler?
The text was updated successfully, but these errors were encountered: