Search in sources :

Example 1 with ProduceHandler

use of org.androidannotations.otto.handler.ProduceHandler in project androidannotations by androidannotations.

the class OttoPlugin method getHandlers.

@Override
public List<AnnotationHandler<?>> getHandlers(AndroidAnnotationsEnvironment androidAnnotationEnv) {
    List<AnnotationHandler<?>> annotationHandlers = new ArrayList<>();
    annotationHandlers.add(new SubscribeHandler(androidAnnotationEnv));
    annotationHandlers.add(new ProduceHandler(androidAnnotationEnv));
    return annotationHandlers;
}
Also used : ArrayList(java.util.ArrayList) AnnotationHandler(org.androidannotations.handler.AnnotationHandler) SubscribeHandler(org.androidannotations.otto.handler.SubscribeHandler) ProduceHandler(org.androidannotations.otto.handler.ProduceHandler)

Aggregations

ArrayList (java.util.ArrayList)1 AnnotationHandler (org.androidannotations.handler.AnnotationHandler)1 ProduceHandler (org.androidannotations.otto.handler.ProduceHandler)1 SubscribeHandler (org.androidannotations.otto.handler.SubscribeHandler)1