@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); } }
@Override public Display getDisplay() { return mPresentation.getDisplay(); }
@Override public void setContentView(View contentView) { mPresentation.setContentView(contentView); }
@Override public void cancel() { mPresentation.cancel(); }
@Override public void dismiss() { mPresentation.dismiss(); }
@Override public void show() { mPresentation.show(); }