0
I’m starting to use android Annotations now I have the following class
@EActivity(R.layout.activity_login)
public class Login extends AppCompatActivity {
@ViewById(R.id.senha)
private EditText senha;
@ViewById(R.id.usuario)
private EditText usuario;
@ViewById(R.id.button)
private Button entrar;
@ViewById(R.id.esqueceu_senha)
private TextView esqueceu_senha;
@Click(R.id.esqueceu_senha){
void onClick(){
Intent intent = new Intent(this, EsqueceuSenha.class);
startActivity(intent);
}
}
}
I’m getting an android error in the click event with the message "Annotations are not allowed here". Any idea what the error might be?
Solved!! Errinho beast... Thank you!
– Cléo Sousa