Code example for Context

Methods: getString

0
    public CharSequence getContentDescription() {
        return mContentDescription;
    } 
 
    public ActionBarItem setContentDescription(int contentDescriptionId) {
        return setContentDescription(mContext.getString(contentDescriptionId));
    } 
 
    public ActionBarItem setContentDescription(CharSequence contentDescription) {
        if (contentDescription != mContentDescription) {
            mContentDescription = contentDescription;
            if (mItemView != null) {
                onContentDescriptionChanged(); 
            } 
        } 
        return this;
    } 
 
    public View getItemView() {
        if (mItemView == null) {
            mItemView = createItemView();