示例#1
0
文件: Screen.java 项目: edenman/scoop
 public static Screen fromView(View view) {
   return Screen.fromScoop(Scoop.fromView(view));
 }
示例#2
0
文件: Screen.java 项目: edenman/scoop
 public static Screen fromController(ViewController controller) {
   return Screen.fromScoop(controller.getScoop());
 }
示例#3
0
文件: Screen.java 项目: edenman/scoop
 public static Screen create(Class<? extends ViewController> viewController) {
   Screen screen = new Screen();
   screen.viewController = viewController;
   return screen;
 }