publicclassCalcularClickListnerimplementsOnClickListener{publicvoidonClick(Viewv){if(valor.getText().toString()==""){Toast.makeText(getApplicationContext(),"Informe o Valor",Toast.LENGTH_SHORT).show(}}}
pode usar o return ???
AlexandreTLazaro
pode, pois ele eh void…então dando um return ele já resolve teu problema…veja se funciona aew
AlexandreTLazaro
Aih kra, se deu certo aih, coloca o tópico como [RESOLVIDO].