- Ensure concurrency internally when calling
register
.
- Exceptions in handlers and producers are no longer caught and logged.
- Producer methods can return
null
to indicate that there is no initial value to dispatch. No subscriber methods will be called ifnull
is 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
@Produce
method annotation which denotes a method to be invoked for an initial value to pass to@Subscribe
methods when registering. Only a single producer may be registered for a type in each event bus instance.
Initial release.