Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Navigation.findNavController(getActivity(),
- R.id.nav_host_fragment).addOnDestinationChangedListener(new NavController.OnDestinationChangedListener() {
- @Override
- public void onDestinationChanged(@NonNull NavController controller, @NonNull NavDestination destination, @Nullable Bundle arguments) {
- System.out.println("hello");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement