Francis Mariano
08/04/2021, 6:40 PMfun create(): PopularMoviesStore =
object : PopularMoviesStore,
Store<Intent, State, Nothing> by storeFactory.create(
name = "PopularMoviesStore",
initialState = State(),
executorFactory = ::ExecutorImpl,
reducer = ReducerImpl
) {}
But in ::ExecutorImpl there is a type mismatch.
Required:
PopularMoviesStore.Intent
Found:
PopularMoviesStoreFactory.Result
Can anyone help me?Francis Mariano
08/04/2021, 6:44 PMFrancis Mariano
08/04/2021, 6:47 PMReducer<State, Intent>
instead of Reducer<State, Result>
Arkadii Ivanov
08/04/2021, 7:33 PMReducer<State, Intent>
might a valid case, if you don't need Executor
and Bootstrapper
. JFYIFrancis Mariano
08/05/2021, 10:01 AM