Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

on back press in Navigation Component, previous fragment's onCreateView, onViewCreated call again #121

Open
vijay81 opened this issue Jun 3, 2022 · 3 comments

Comments

@vijay81
Copy link

vijay81 commented Jun 3, 2022

How can i add fragment on Navigation controller (Navigation component) Instead of replace? I tried to navigate fragment according to android architecture but i am not possible to understand how i add or replace fragment as our previous architecture. example: if i move A fragment to B fragment and when i press back from B fragment then A fragment always gets reload. Suggest me any one if i do add fragment

@mtf7101520
Copy link

mtf7101520 commented Jun 3, 2022 via email

@Dhruv-Limbachiya
Copy link

Can we have any stable solution for this problem? or any workaround with a proper and feasible approach

@rajputprashant1612
Copy link

I have faced the same issue. can anyone found a proper solution without saving a fragment state?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants