Skip to content

Some events are not triggered in a consistent manner #33

@Scherady

Description

@Scherady

In my App developed in Android Studio I am using EasyFlow but the events are not triggered in a reproducible manner:

  • some events are always firing in a perfect manner,
  • other events are not firing in the first attempt(s) then they fire fine and
  • others are never firing; proper breakpoints show that the "onEvent.trigger(context)" is reached by the state is not changing as defined in the flow.

All are in the main thread; here are extracts of my code:

onSelectingMainMenu.to(MAIN_MENU).transit(
onReturnToPreviousChoice.to(READY),
onSelectingMainMenuFinished.to(READY),
onSelectingSettingsMenu.to(SETTINGS_MENU).transit(
onReturnToPreviousChoice.to(MAIN_MENU)
)
)

...

switch (direction) {
case TOP:
onReturnToPreviousChoice.trigger(flowContext);
...

Any help?
Thank you.

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