Exemplo n.º 1
0
 public MenuController addNavigation(String title, String storyboardId) {
   alert.addAction(
       new UIAlertAction(
           title,
           UIAlertActionStyle.Default,
           s ->
               parent
                   .getNavigationController()
                   .pushViewController(
                       parent.getStoryboard().instantiateViewController(storyboardId), true)));
   return this;
 }
Exemplo n.º 2
0
 public MenuController addCancel(String title) {
   alert.addAction(new UIAlertAction(title, UIAlertActionStyle.Cancel, null));
   return this;
 }