예제 #1
0
  /**
   * Create a new BookViewerActivity.
   *
   * @param place initial state
   * @param clientFactory .
   */
  public BookViewerActivity(BookViewerPlace place, ClientFactory clientFactory) {
    this.fsiActivity = new FSIViewerActivity(place, clientFactory);
    this.jsActivity = new JSViewerActivity(place, clientFactory);
    this.clientFactory = clientFactory;
    this.initialPlace = place;

    this.useFlash = clientFactory.context().useFlash();
    this.handlers = new ArrayList<>();
  }
예제 #2
0
 /**
  * Create a new BookSelectActivity
  *
  * @param place initial state of activity
  * @param clientFactory .
  */
 public BookSelectActivity(BookSelectPlace place, ClientFactory clientFactory) {
   this.view = clientFactory.bookSelectView();
   this.category = place.getCategory();
   this.service = clientFactory.archiveDataService();
   this.placeController = clientFactory.placeController();
 }