2

How to pop all the pushed pages except first page in BlackBerry 10 qml?

SelvaRaman
  • 218
  • 2
  • 15
  • 1
    As Richard suggested, you can use the navigateTo method to do so. navigationPane.navigateTo(navigationPane.at(0)) According to documentation, any pages above the one navigated to in the stack will be removed from the stack – Nishant Shah Dec 24 '12 at 05:34

1 Answers1

5

That may depend on the base object. When using the NavigationPane for example I would use the navigatTo(Page *targetPage) method and specify the first page as the target.

Richard
  • 8,920
  • 2
  • 18
  • 24