/AspectJ-Android-Example

AspectJ Example on Android

Primary LanguageJavaApache License 2.0Apache-2.0

AspectJ Android Example

Dependency

Running

You can open the project with Android Studio and run

or

Run with Gradle on commandline

./gradlew assemble installDebug

Aspects

AuthenticationAspect

Basic usage of aspect for auth-based method call

CachingAspect

Fetch an image and implemented simple caching using aspect

ExceptionHandlingAspect

Catch all exception and drive your application to specific errors

LoggingAspect

Logging all actions

ProfilingAspect

Measure elapsed time for async call and fetching image