May be because I am new to Prism and to Xamarin Froms because of which I am facing a basic issue with the navigation.
Let me start with the details of my implementation and then the issue at hand.
Issue: When I call GoBackAsync, nagivation does not happen to the PartnerAll tab of Partner page. PartnerDetails page remains open.
Where is it I am going wrong. What should I do to make it work?
Please assist.
Best regards, Ankur Jain
通过遵循此问题(一个相关的问题)中提供的建议,该问题得以解决: Prism Xamarin Forms ToolbarItem出现两次
In point 5. you created new navigation page with new root page PartnerDetails
and there is navigation stack with only one page, nothing to pop off.
Change:
PartnerAll page contains a listview. On click of a list view item, a new page is opened "PartnerDetails" by calling NavigationService.NavigateAsync("Navigation/PartnerDetails", parameters, false, true);
To:
PartnerAll page contains a listview. On click of a list view item, a new page is opened "PartnerDetails" by calling NavigationService.NavigateAsync("PartnerDetails", parameters, false, true);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.