Skip to content

Could not dispatch event:XX to subscribing class class XX when resuming an activity #451

@ParkerK

Description

@ParkerK

I have an activity B, that can be called from activity A or B. If I go B -> B (different data) -> Back , then I get the error:

E/EventBus: Could not dispatch event: class xx.PostClickEvent to subscribing class class xx.ThreadActivity

Every other scenario works though, it's only when I go back to a previous activity that it fails. I used logging to verify that onStart and onStop are registering and deregistering themselves as subscribers. I'm guessing the issue is due to the classes being the same?

Not sure if this is on my end or a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions