How to handle an Exception being thrown by the method that I call in the binding expression?
For example,
android:someAttribute="@{myClass.getField(`myField`)}"
Method getField()
throws NoSuchFieldException
and the compiler complains about unhandled exception in the generated code.
Aucun commentaire:
Enregistrer un commentaire