Schnittstelle NavigationView.OnGetNextPage

Umschließende Klasse:
NavigationView
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface NavigationView.OnGetNextPage
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Emitted when a push shortcut or a gesture is triggered.
  • Methodendetails

    • onGetNextPage

      NavigationPage onGetNextPage()
      Emitted when a push shortcut or a gesture is triggered.

      To support the push shortcuts and gestures, the application is expected to
      return the page to push in the handler.

      This signal can be emitted multiple times for the gestures, for example
      when the gesture is cancelled by the user. As such, the application must
      not make any irreversible changes in the handler, such as removing the page
      from a forward stack.

      Instead, it should be done in the [signal@NavigationView::pushed] handler.
      Gibt zurück:
      the page to push