Tecnologia do Blogger.
RSS

[androidbrasil-dev] Re: ListActitvity com OnClick()

A pergunta agora: 

O sistema não entra no método onClick(). 

Em anexo a minha lista com os botões OK e Cancelar.

Agradeço desde já!

On Thu, Jul 14, 2016 at 9:12 AM, Arthur Ruppenthal <arthur.ruppenthal@gmail.com> wrote:
Bom dia.

Pessoal, tenho uma Listactivity que implements OnClickListener():

public class MovimentosActivity extends ListActivity implements View.OnClickListener {
    public void onClick(View v) {
    Log.d(this.getClass().getName(),"OnClik()");
switch (v.getId()){
case R.id.btOK: gravaTipoMov();
case R.id.btCancel: this.finish();
}
}
}

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário