Docs (4.0.0)
class Activity method

handleNavigationDetailAsync

A method that’s called after the user navigated to a particular sub-path of this activity, to be overridden if needed.

handleNavigationDetailAsync(detail: string, navigationController: NavigationController): Promise<void>

Notes

  • This method is called automatically after the activity is activated (or was already active), if the current navigation path matches the activity’s navigationPageId.
  • If the navigation path matches the activity’s navigationPageId exactly, this method is called with an empty string as the detail argument.
  • This method can be used to show specific content within the activity’s view, e.g. a tab or detail view, or to activate a child activity.

Parameters

  • detail — The part of the navigation path that comes after the page ID
  • navigationController — The current navigation controller instance

Related

  • class ActivityA class that represents a part of the application that can be activated when the user navigates to it.