public void setContentView(int resId) {
        if (mCurrentLayoutId != resId) {
            View view = inflate(mContext, resId, null);
            if (mDefaultContentView == null &&
                resId == mCallback.getContentViewDefaultLayoutId(this)) {
                mDefaultContentView = view;
                mDefaultLayoutId = resId;
            }
            mCurrentLayoutId = resId;
            setContentView(view);
        }
    }
public void setContentView ( int resId ) { if ( mCurrentLayoutId != resId ) { View view = inflate ( mContext , resId , null ) ; if ( mDefaultContentView == null && resId == mCallback . getContentViewDefaultLayoutId ( this ) ) { mDefaultContentView = view ; mDefaultLayoutId = resId ; } mCurrentLayoutId = resId ; setContentView ( view ) ; } }
Set contentView.

@param resId