Skip to content

Commit

Permalink
Fix singleReducerBindable
Browse files Browse the repository at this point in the history
  • Loading branch information
wakwak3125 committed Jan 2, 2018
1 parent 4163348 commit b4de3ba
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ public static class BindableCounter {
"import info.izumin.android.droidux.BaseStore;",
"import info.izumin.android.droidux.processor.fixture.Counter;",
"import info.izumin.android.droidux.processor.fixture.CounterReducer;",
"import io.reactivex.Observable;",
"import io.reactivex.Flowable;",
"@Store({CounterReducer.class})",
"public interface RootStore extends BaseStore, android.databinding.Observable {",
" @Bindable Counter counter();",
" Observable<Counter> observeCounter();",
" Flowable<Counter> observeCounter();",
"}"
};

Expand All @@ -203,9 +203,9 @@ public static class BindableCounter {
"import info.izumin.android.droidux.exception.NotInitializedException;",
"import info.izumin.android.droidux.processor.fixture.Counter;",
"import info.izumin.android.droidux.processor.fixture.CounterReducer;",
"import io.reactivex.Flowable;",
"import java.util.ArrayList;",
"import java.util.List;",
"import io.reactivex.Observable;",
"",
"public final class DroiduxRootStore extends BaseObservable implements RootStore {",
" private final DroiduxRootStore_CounterStoreImpl counterStoreImpl;",
Expand Down Expand Up @@ -235,12 +235,12 @@ public static class BindableCounter {
" }",
"",
" @Override",
" public Observable<Counter> observeCounter() {",
" public Flowable<Counter> observeCounter() {",
" return counterStoreImpl.observe();",
" }",
"",
" @Override",
" public Observable<Action> dispatch(Action action) {",
" public Flowable<Action> dispatch(Action action) {",
" return dispatcher.dispatch(action)",
" }",
"",
Expand Down

0 comments on commit b4de3ba

Please sign in to comment.