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