Guest User

Untitled

a guest
Jul 16th, 2019
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Navigation.findNavController(getActivity(),
  2. R.id.nav_host_fragment).addOnDestinationChangedListener(new NavController.OnDestinationChangedListener() {
  3. @Override
  4. public void onDestinationChanged(@NonNull NavController controller, @NonNull NavDestination destination, @Nullable Bundle arguments) {
  5. System.out.println("hello");
  6. }
  7. });
RAW Paste Data