0
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, there is 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);
}
});
Raphael, it would be interesting and would make your answer more complete, if it showed how it is done.
– ramaral