I would like to call an activity from the click of a button, but it does not work because the source class is not an activity, but a BaseExpandableListAdapter, is there a way to do this?
Code:
holder.btnDetalhes.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(ExpandableAdapterMenuCompleto.this, DetalhesItemContaCliente.class);
StartActivity(i);
}
});