Ejemplo n.º 1
0
 public static Screen fromView(View view) {
   return Screen.fromScoop(Scoop.fromView(view));
 }
Ejemplo n.º 2
0
 public static Screen fromController(ViewController controller) {
   return Screen.fromScoop(controller.getScoop());
 }
Ejemplo n.º 3
0
 public static Screen create(Class<? extends ViewController> viewController) {
   Screen screen = new Screen();
   screen.viewController = viewController;
   return screen;
 }