3
I’m having trouble adding a dialog in this listview method, there is another way to make it work?
listDebitosPendentes.setOnItemClickListener(new AdapterView.OnItemClickListener() {
dialog = ProgressDialog.show(DetalhesDebitosActivity.this,
"Aguarde","Enviando Boleto....",true);
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
Intent intent= new Intent(getApplicationContext(),DetalhesDebitosActivity.class);
//Passa para a activity o id no banco de dados
intent.putExtra("ID",id);
startActivity(intent);
}
});
Which error occurs?
– Marco Giovanni
@Marcogiovanni, I added an error print to the question
– rodrigo.oliveira
Try it this way
android.app.ProgressDialog.show(...)
– Marco Giovanni
@Marcogiovanni, continues the same error.
– rodrigo.oliveira
Dei +1 despite the song
– eightShirt