I want to get safe args from the main fragment in the main activity, to provide them to the navigation drawer. How can I get arguments in NavController.OnDestinationChangedListener, from an API called in the main fragment or any other fragment.

enter image description here

0

There are 0 best solutions below