Viewbinding Android

What about the toolbar sir?

private fun setupToolbar() {
setSupportActionBar (ActivityMapsBinding.inflate(layoutInflater. toolbar)
}

Sir this does not work for me.

However using the MainViewMapsBinding.inflate(layoutInflater) does activate the toolbar but I get a runtime error. Whenever I run the app.