android - Preventing user to return to page if save changes -


i have phonegap + angularjs app running. app have page flow:

login > main page list > second page other list > item details

in details page, user has hability save record. if saves record, page cannot accessed again when instance presses android button.

inside save method i'm using redirect him second list again:

$location.path('/notifications/' + $scope.placeid); 

i tried using replace() after , before redirecting doesn't work. way made work calling replace() before going details list. problem if presses button redirects 1st list. weird


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -