@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface EventBusListenerMethod
myMethodName(Event<MyPayloadType>)myMethodName(MyPayloadType)EventBusListener,
EventBus.subscribe(Object),
EventBus.subscribe(Object, boolean)| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends EventBusListenerMethodFilter> |
filter |
EventScope |
scope
The default scope of a listener method is
EventScope.UNDEFINED
This means that listener will listen for any EventScope if EventBus.subscribe(EventBusListener, boolean) is set to propagate event |
public abstract EventScope scope
EventScope.UNDEFINED
This means that listener will listen for any EventScope if EventBus.subscribe(EventBusListener, boolean) is set to propagate eventpublic abstract Class<? extends EventBusListenerMethodFilter> filter
Copyright © 2015. All rights reserved.