예제 #1
0
 public StackEntry(LayoutChoice_Set layout, string name, OnBack_Listener listener, int backPriority = 1)
 {
     this.Layout = layout;
     if (listener != null)
     {
         this.Listeners.Add(listener);
     }
     this.Name         = name;
     this.BackPriority = backPriority;
 }
예제 #2
0
 public void AddLayout(LayoutChoice_Set newLayout, String name, OnBack_Listener listener)
 {
     this.AddLayout(new StackEntry(newLayout, name, listener));
 }