Espero que ajude..
http://www.brunonardini.com.br/artigos/android-boas-praticas-para-o-evento-onclick
Em 02/01/2014 18:27, "Márcio Fornari" <marciofornari@gmail.com> escreveu:
-- Galera, qual a diferença de se chamar a activity por um método onclick--public void ChamandoActivity(View v){aqui eu chamo a activity 2}ou fazendo assim--botao = (Button) findViewById(R.id.button2);
botao.setOnClickListener(new View.OnClickListener() {
//bla bla bla
}
Tem alguma diferença de Performance??
............
.Márcio Fornari
.Bacharel em Sistemas de Informação
.Contatos pelo Telefone: (49)8814 - 3378
.ou pelo e-mail: marciofornari@gmail.com
..........................................................................
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/groups/opt_out.
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/groups/opt_out.
0 comentários:
Postar um comentário