Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Try to 'add' Fragments instead of 'replace' when using Jetpack's Navigation #13

Open
nicoqueijo opened this issue Apr 30, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nicoqueijo
Copy link
Owner

nicoqueijo commented Apr 30, 2020

Try to see if I could ‘add’ instead of ‘replace’ the SelectorFragment when I click on the FloatingActionButton so that WatchlistFragment stays in memory.

The default behavior when using Jetpack’s Navigation is to 'replace' and that is why I always have to redraw the DragLinearLayout when we return from SelectorFragment.

If I could do an ‘add’ instead of a ‘replace’ then this would provide a much better UX as there would be no overhead cost when returning from selecting a Currency.

@nicoqueijo nicoqueijo added the enhancement New feature or request label Apr 30, 2020
@nicoqueijo nicoqueijo self-assigned this Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant