Skip to content

Commit 5d88842

Browse files
andy-ifenicolas-raoul
authored andcommitted
Feat: Make it smoother to switch between nearby and explore maps (commons-app#6164)
* Nearby: Add 'Show in Explore' 3-dots menu item * MainActivity: Add methods to pass extras between Nearby and Explore * MainActivity: Extend loadFragment() to support passing fragment arguments * Nearby: Add ability to navigate to Explore fragment on 'Show in Explore' click * Explore: Read fragment arguments for Nearby map data and update Explore map if present * Explore: Add 'Show in Nearby' 3-dots menu item. Only visible when Map tab is selected * Explore: On 'Show in Nearby' click, navigate to Nearby fragment, passing map data as fragment args * Nearby: Read fragment arguments for Explore map data and update Nearby map if present * MainActivity: Fix memory leaks when navigating between bottom nav destinations * Explore: Fix crashes caused by unattached map fragment * Refactor code to pass unit tests * Explore: Format javadocs --------- Co-authored-by: Nicolas Raoul <[email protected]>
1 parent 20c83ac commit 5d88842

File tree

1 file changed

+2398
-0
lines changed

1 file changed

+2398
-0
lines changed

0 commit comments

Comments
 (0)