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