Hello coders,
In android Apprentice, when you making a nav drawer for placebook. The author used android kotlin extension. However I t is now deprecated in favor of viewbinding. The problem is with the Viewbinding I am able to get the toolbar working with the main view xml.
However with the Viewbinding Setcontentview(R.layout.activity_maps) is not working. Therefore you have to set the activity_map to binding. However after I finish setting it and pass the root to the setcontentview. I still get an error when I compile and run.
Any help will be highly appreciated. Thanks