I am trying to run some methods when a button is clicked and then move to next activity something like this:
Clicked Ok button -> func1() -> func2() -> funky() -> move to next activity
i can't seem to understand what should i do to make this pattern work?
Note: func1 , func2 , funky are asynchronous
I've tried EventBus pattern , but that pattern require 1 extra class to be made of each event
i know this simple task can't be that expensive