kotlin anonymous class from interface code example
Example: kotlin anonymous class from interface
interface OnItemClickListener {
fun onItemClick(item : String) : Unit
}
MyItemRecyclerViewAdapter(object : OnItemClickListener {
override fun onItemClick(item: String) {
...
}
})