Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  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. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement