2023-09-21 11:24 AM - edited 2023-09-21 11:30 AM
2023-09-22 05:43 AM
Hello @da66en ,
The Model class is used for propagating data between different screens or between the UI and the hardware. Screen transitioning should be handled from the UI, therefore, you should not call it from the Model. Instead, you need to implement the 'notifyDataChanged' in the proper screen Presenter and call a function from the screen which does the transition. You can't call the transition directly from the Presenter, because application() is a protected member of the Screen class.
Bottom line, you need a chain of calls like this:
Model -> modelListener -> Presenter -> Screen
I hope this helps you, and feel free to ask more questions :grinning_face: