When I try to duplicate the Esri ArcGIS Kotlin sample project "Display a Map" using their example tutorial. The have you add a private attribute to the MainActivity.kt. I want to know where is the class ActivityMainBinding. It is not in the example code zip file. I'm using ArcGIS Kotlin SDK 200.1.0
private val activityMainBinding: ActivityMainBinding by lazy {
DataBindingUtil.setContentView(this, R.layout.activity_main)
}
I've search developers.ArcGIS.com and other sources for an answer to this question.
This class is automatically generated by the Android Jetpack Data Binding library. There is no Kotlin or Java source to look at. The source file in this case would be
res/layout/activity_main.xml.