https://kotlinlang.org logo
Title
u

user

07/13/2022, 11:31 AM
What is the difference between setupWithNavController and setupActionBarWithNavController? According to google function documentation, setupWithNavController: Sets up a Toolbar for use with a NavController. By calling this method, the title in the Toolbar will automatically be updated when the destination changes but setupActionBarWithNavController: Sets up the ActionBar returned by AppCompatActivity.getSupportActionBar for use with a NavController. By calling this method, the title in the action bar will automatically be updated when the destination changes Assuming I set the...