This post will show how to integrate Android Annotations and some basic implementation from it.
If you wonder what is Android Annotations, it is essentially an annotation-driven framework that allows you to significantly reduce the boiler plate code of an Android application by generating classes at compilation time (generates a class extending the annotated class with an underscore as suffix by default) that contains well implemented code for you. It also relies in the Spring Framework for Android for the network-related annotations.
The code for this demo is here: https://github.com/rastadrian/aaintegration
For this guide I will have an application that has one activity, which contains one text view and a button, if the button is tapped, the text disappears. So let’s start with the activity’s layout, one text view and a button below it.