- Fix: Correct potential concurrency problem which might have occurred when registering on multiple threads at once.
- Fix: Correct concurrency problem which might have occurred when registering on multiple threads at once.
- Explicitly prevent registering the same instance twice.
- Fix: Ignore synthetic bridge methods created by JDK 8.
- Explicitly disallow
nullargument toregister,unregister, andpost.
- Explicitly disallow
voidreturn type on@Producemethods. - Avoid producers and subscribers being called after unregistering from inside a subscribe method.
- Avoid potential
IllegalArgumentExceptionwhen unregistering in a subscriber callback.
- Ensure concurrency internally when calling
register.
- Exceptions in handlers and producers are no longer caught and logged.
- Producer methods can return
nullto indicate that there is no initial value to dispatch. No subscriber methods will be called ifnullis returned. - An exception is now thrown if a class attempts to subscribe or produce on a non-public method.
- Producer methods can no longer return
null.
- Add thread enforcer which verifies bus interaction is occuring on a specific thread.
- Add Android sample application demonstrating communication between activity and two fragments.
- Fix: Correct producer unregister failing to remove registration.
- Add
@Producemethod annotation which denotes a method to be invoked for an initial value to pass to@Subscribemethods when registering. Only a single producer may be registered for a type in each event bus instance.
Initial release.