Accessing state outside of reducer function in MVI

Viewed 422

In MVI with the Mosby library, what is the best way to access the state outside of the reducer function in the stream? For example, when you need to load the next page for your recycler, you need to know which page was loaded last. (In the sample app the last page is saved in the loader but that defeats the whole purpose of having a single state POJO)

1 Answers
Related