我使用以下步骤创建了页面的PageRenderer:
请建议我如何做到这一点。提前谢谢。
答案 0 :(得分:1)
离开页面,使用use double loop to store each P2 closest to P1
example: array [P1][P2]
Sort array based on size of array [P1].numOfElements ()
such that largest is at the top
now remove top element P from set S
and in array P1
and all subsequent P in P2 of all P1
If P2 is empty for any element X in P1 then remove it
Remove the next top element and do the process again until array is empty
Resulting set is the answer for minimum points
答案 1 :(得分:1)
在PushAsync
返回后的某个地方,您将致电PopAsync
以删除该页面
Xamarin.Forms.NavigationPage Class
var newPage = new ContentPage ();
await Navigation.PushAsync (newPage);
Debug.WriteLine ("the new page is now showing");
var poppedPage = await Navigation.PopAsync ();
Debug.WriteLine ("the new page is dismissed");