예제 #1
0
  @Override
  public void setPresentationListener(PresentationView.PresentationListener listener) {
    super.setPresentationListener(listener);

    if (mListener != null) {
      mPresentation.setOnShowListener(this);
      mPresentation.setOnDismissListener(this);
    } else {
      mPresentation.setOnShowListener(null);
      mPresentation.setOnDismissListener(null);
    }
  }
예제 #2
0
 @Override
 public Display getDisplay() {
   return mPresentation.getDisplay();
 }
예제 #3
0
 @Override
 public void setContentView(View contentView) {
   mPresentation.setContentView(contentView);
 }
예제 #4
0
 @Override
 public void cancel() {
   mPresentation.cancel();
 }
예제 #5
0
 @Override
 public void dismiss() {
   mPresentation.dismiss();
 }
예제 #6
0
 @Override
 public void show() {
   mPresentation.show();
 }