I am using Navigation Component to handle navigations, but when use popBackStack() or onBackPressed() to back to previous fragment my onViewCreated call again in fragment with api and set up views.
Since Navigation Component 2.4 unveiled new features (popUpToSaveState and restoreState), i want to use it. please tell me how?