You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed ReactorProvider implementation which was just a copy of ViewModel customized to store & create Reactor instances. Since this implementation didn't keep up with AndroidX changes, I decided to remove it and use ViewModel instead; it's not quite as clean, but it'll be more maintainable in the long run. The sample code shows an example of how to use it.
BREAKING CHANGES
Removed ReactorProvider and associated ReactorStore & ReactorStoreFragment
Added AndroidReactor and AndroidReactorWithEffects with overrides for transformEffect and transformState so that state & effects are always emitted on AndroidSchedulers.mainThread()
Added ReactorWithEffects which allows for side-effect emissions without needed to pass them via the State. The MutationWithEffect interface needs to be applied to the Mutation class, and then a single mutation given an effect getter (usually an Action named TriggerEffect(val effect: Effect)).
Updated from v28 support libraries to the latest Jetpack AndroidX libraries.