Code example for Context

Methods: getString

0
        mContextView.setSubtitle(subtitle);
    } 
 
    @Override 
    public void setTitle(int resId) {
        setTitle(mContext.getString(resId));
    } 
 
    @Override 
    public void setSubtitle(int resId) {
        setSubtitle(mContext.getString(resId));
    } 
 
    @Override 
    public void setTitleOptionalHint(boolean titleOptional) {
        super.setTitleOptionalHint(titleOptional);
        mContextView.setTitleOptional(titleOptional);
    } 
 
    @Override 
    public boolean isTitleOptional() {