Created
July 14, 2019 21:11
-
-
Save itsamirrezah/7c705e9fd0e3aff55631662d3232a4c5 to your computer and use it in GitHub Desktop.
SimpleNavigationComponent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
btnNavigate.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
Navigation.findNavController(v).navigate(R.id.action_navigate_to_fragmentB); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment