re: Day 6: Android Navigation component and interview preparation VIEW POST

FULL DISCUSSION
 

This handy click listener to navigate to a fragment is dayum!

openProfileButton.setOnClickListener(Navigation.createNavigateOnClickListener(R.id.elephantProfileFragment))
code of conduct - report abuse