This method will be called by io.udash.routing.RoutingEngine when relevant state need to be resolved.
This method will be called by io.udash.routing.RoutingEngine when relevant state need to be resolved. It can be uses to get parameters from state and use it to call eg. external API.
the instance of resolved state
This method will be called by io.udash.routing.RoutingEngine when this presenter will be replaced by other presenter.
This method will be called by io.udash.routing.RoutingEngine when this presenter will be replaced by other presenter. In this callback you should do cleanup if needed.
The Presenter should contain all business logic of a view: user interaction callbacks, server communication. It should not call any methods of a View class. The View and the Presenter should communicate via Model properties. When implementing Presenter, you should remember, that a handleState method can be called not only on view initialization.
State for which this presenter is defined.