title: How to call getIntent() in adapter class
body: <p>In getView() method I want to call getIntent(). How can I achieve this without starting a new activity. The getView method like this </p>
  
  <pre><code>public View getView(final int position, View convertView, ViewGroup parent) {
      PaymentData rowItem = getItem(position);
      LayoutInflater mInflater = (LayoutInflater) context
              .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
      if (convertView == null) {
          convertView = mInflater.inflate(
                  com.android.paypal.homeactivity.R.layout.list_item, null);
          holder = new ViewHolder();
          holder.radioBtn = (RadioButton) convertView
                  .findViewById(com.android.paypal.homeactivity.R.id.rdb_payment_method);
          convertView.setTag(holder);
      } else
          holder = (ViewHolder) convertView.getTag();
  
      if (position == getCount() - 1 &amp;&amp; userSelected == false) {
          holder.radioBtn.setChecked(true);
          mCurrentlyCheckedRB = holder.radioBtn;
      } else {
          holder.radioBtn.setChecked(false);
      }
  
      holder.radioBtn.setText(rowItem.getRdbText());
      return convertView;
  }
  </code></pre>