0

I am developing an app in NativeScript with Angular

When I want to navigate to another route I simply programmatically declare:

this.router.navigate(['/my-details']);

However, when I am on the my-details route and I want to refresh the route.

I have tried calling the route again with the same method as above, as adding a parameter to the route such as /refresh, but they both do not work.

How do I refresh/navigate to the current route?

RSM
  • 14,540
  • 34
  • 97
  • 144

1 Answers1

0

Couldn't you just use pullToRefresh? Although you have a detail view and not a list view it is possible to implement it there: https://github.com/bradmartin/nativescript-pulltorefresh#html

shaedrich
  • 5,457
  • 3
  • 26
  • 42