I want to start a new activity from this base adapter.
public class EfficientAdapter extends BaseAdapter { private Activity activity; private ArrayList
Replace onClick method with this it may work I didn't tried:
@Override public void onClick(View v) { v.getContext().startActivity(new Intent(v.getContext(), NVirementEmmeteur.class)); }