Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

shazam/android-aspects

Open more actions menu

Repository files navigation

Android Aspects

Have you ever had to extend multiple Activities?

This library provides a lightweight mechanism for adding functionality to Activities, Fragments and Applications without modifying their source code, by using annotations.

It allows you to do cool things like:

Example

@WithPageView(pageName = "my_page_name")
@WithAd(siteId = 65168)
public class MyActivity extends AspectActivity {
    // no custom code written, but activity has ads and analytics behaviour
}

For more information on how this can be achieved, visit the project site at http://shazam.github.io/android-aspects/

Version

1.0.0

Installation

The library is published on Maven Central. To use it, include this in your dependencies:

compile 'com.shazam.android:aspects:1.0.0'

note that you will also need to have Maven Central to your list of repositories:

repositories {
    mavenCentral()
}

License

Apache 2.0

About

A simple aspecting library for Android

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.