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
The controller it's just an utility to be able to interrupt and continue a loop from its last state, plus it helps set up the cyclic dependency between UI and business logic. The controller predates MobiusLoopViewModel, and if you use MLVM then there is no need to have a controller.
Any thoughts/suggestions on how does Mobius architecture glue into the android paging library? I am guessing you must have a lot of paging stuff in spotify, some insights please.
What are we doing now? TLDR- VM holding the loop is supplied to the data source which uses VM instance to dispatch events and observe states which eventually updates data on callbacks in loadBefore/loadAfter.
Activity
togi commentedon Nov 16, 2022
The controller it's just an utility to be able to interrupt and continue a loop from its last state, plus it helps set up the cyclic dependency between UI and business logic. The controller predates MobiusLoopViewModel, and if you use MLVM then there is no need to have a controller.
rajdheepak commentedon Dec 6, 2023
Any thoughts/suggestions on how does Mobius architecture glue into the android paging library? I am guessing you must have a lot of paging stuff in spotify, some insights please.
What are we doing now? TLDR- VM holding the loop is supplied to the data source which uses VM instance to dispatch events and observe states which eventually updates data on callbacks in loadBefore/loadAfter.
@togi