Moving Activity to another Activity when class extends ArrayAdapter
<p>When I click the <code>edit_remainder</code> button I want to move my Activity to another Activity.</p>

<p>But where the class extends ArrayAdapter I don't understand how to move to another Activity.</p>

<p>Please help me with an example of the Intent class.</p>

<pre><code>public class mylist extends ArrayAdapter&lt;String&gt; implements OnClickListener 
{

  private final Context context;
  private final String[] values;
  Button edit_remainder;

  public mylist(Context context, String[] values) {
    super(context, R.layout.some, values);
    this.context = context;
    this.values = values;
  }

  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
    LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
    View rowView = inflater.inflate(R.layout.buttonadd, parent, false);
    edit_remeinder=(Button) rowView.findViewById(R.id.btnEdit);
    edit_remeinder.setOnClickListener(this);
    return rowView;
  }

  public void onClick(View v) {
    Toast.makeText(getContext(), "hi", 1000).show();
    // please enter moving code here
  }
}
</code></pre>
