NavigationView.getPreviousPage

Gets the previous page for page.

If page is in the navigation stack, returns the page popping page will reveal.

If page is the root page or is not in the navigation stack, returns NULL.

Parameters

page adw.navigation_page.NavigationPage

a page in self

Return Value

Type: adw.navigation_page.NavigationPage

the previous page