caching - ionic infinit list reload cached page/view -
i have ionic list page template cached set true, each item clickable , way avoid reload cache page. however, need to reload list menu option appears controller isn't triggering. i've tried setting difference services using &ionichistory clearcache , clearhistory, nothing works.
after banging heads few times, following solution worked! forcing reload of list controller following:
$state.go("app.tabs.your_controller", {}, {reload: true});
note: $stateparams wouldn't take effect since page wasn't loading, instead "reload: true" works charm. continue use $state.go("app.tabs.your_controller") on other pages don't require page reload.
Comments
Post a Comment