Example #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;
 }
Example #2
0
 public MenuController addCancel(String title) {
   alert.addAction(new UIAlertAction(title, UIAlertActionStyle.Cancel, null));
   return this;
 }