public Dialog clearContent() { title(0); positiveAction(0); positiveActionClickListener(null); negativeAction(0); negativeActionClickListener(null); neutralAction(0); neutralActionClickListener(null); contentView(null); return this; }
@Override public Dialog build(Context context) { mDialog = onBuild(context, mStyleId); mDialog .title(mTitle) .positiveAction(mPositive) .negativeAction(mNegative) .neutralAction(mNeutral); if (mContentViewId != 0) mDialog.contentView(mContentViewId); return mDialog; }
@Override public void addContentView(View view, ViewGroup.LayoutParams params) { contentView(view); }
@Override public void setContentView(View v, ViewGroup.LayoutParams params) { contentView(v); }
@Override public void setContentView(int layoutId) { contentView(layoutId); }
@Override public void setContentView(View v) { contentView(v); }