Jintin
12/17/2020, 11:31 PMval adapter = MonoAdapter.create<AdapterMyDataBinding, MyData> {
textView.text = it.text1
button.setOnClickListener {
textView.text = it.text2
}
}
adapter.submitList(list)
Hope you'll like it. thanks
https://github.com/carousell/MonoAdapter