RouteController
Last updated
Was this helpful?
Last updated
Was this helpful?
As mentioned before, this class connects RoutePath
, Screen
, and serves to implement custom routing logic. It's marked with the @Route
annotation and implements one of the children of the RouteControllerInterface
. Currently, we have four predefined RouteController classes:
: Supports only Fragment or Compose as the view.
Supports Fragment or Compose as the view and includes Dagger injection. The letter "C" stands for Component, which is passed to the Controller for injection.
Supports Fragment or Compose as the view and includes ViewModel functionality. "VM" stands for ViewModel.
Supports Fragment or Compose as the view, includes ViewModel functionality, and Dagger injection.