Code example for Context

Methods: startActivity

0
        if (mClickListener != null && mClickListener.onMenuItemClick(this)) {
            return true; 
        } 
         
        if (mIntent != null) {
            mContext.startActivity(mIntent);
            return true; 
        } 
         
        return false; 
    } 
     
    public void setShowAsAction(int show) {
        // Do nothing. ActionMenuItems always show as action buttons. 
    } 
 
    public MenuItem setActionView(View actionView) {
        throw new UnsupportedOperationException();
    } 
 
    public View getActionView() {