Skip to content

Rewrite dynamic view to use one page (porting away from SwipeView)

Devin Lin requested to merge work/rework-dynamic into master

I've done some major refactoring of the forecasts view, especially with the dynamic view.

Dynamic view no longer uses a SwipeView (row of pages of locations), and now uses a single page that dynamically switches elements out after swiping to the edge of the page. This allows for smooth transitions between locations, as well as improved performance (since every location does not have to be loaded to memory).

I also simplified the locations model to simply expose a qlist, which solved some weird bugs I had with the original model and the new dynamic view (since it does not use a SwipeView and has no model field).

This addresses:

Edited by Devin Lin

Merge request reports