-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor] Simplify home screen features and cards update logic (#1857)
* Move MapConfig to VM * Update viewport when map camera is moved * Store last and current camera position in base view model * Create a new method refreshMapFeatures and move logic for updating map features into it * Refactor loisWithinMapBoundsAtVisibleZoomLevel * Refactor suggestLoiJobs * Cleanup unused Flowable * Refresh LOIs on camera update * Remove duplicate call to notify that map has been moved. * Move adding tile sources for offline area selector to fragment * Add MapConfig for disabling map gestures * Rename var * Apply suggestions * Apply suggestions * Fix merge conflicts --------- Co-authored-by: Gino Miceli <228050+gino-m@users.noreply.github.com>
- Loading branch information
1 parent
59e4c9f
commit 779c72e
Showing
12 changed files
with
125 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.