This project is related to our video on AA library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
.gitignore
AndroidAnnotationsDemo.iml
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Android_Annotations_Demo

This example shows how to use Android Annotations Library in your apps.

Main gradle file

snap 2015-09-11 at 14 56 55

App Gradle file

snap 2015-09-11 at 14 58 15

Android Manifest file

snap 2015-09-11 at 14 59 00

This is what you will see in your emulator when the app runs.

testgif

Inject Drawables, Color Resources, Options Menu, Views, Activities and System Services with Android Annotations

snap 2015-09-11 at 14 49 27

Handle button clicks, long clicks, touches, and options menu item clicks with Android Annotations

snap 2015-09-11 at 14 50 47

Replace AsyncTask with methods that have a simple @Background and @UiThread to indicate they run on the respective threads with Android Annotations.

snap 2015-09-11 at 14 52 06

Inject Intent Extras directly into the other Activity without calling getExtras() and doing all the ground work

snap 2015-09-11 at 14 53 55

Use the modified class names in your AndroidManifest.xml and Intents because Android Annotation generates classes on your behalf with an _ appended at the end which you must use everywhere you need to refer to them.

snap 2015-09-11 at 14 54 58

Add ItemClicks and ItemLongClicks for a ListView easily

snap 2015-09-11 at 15 00 11