Ayden
tab_layout.setOnTabSelectListener(object : OnTabSelectListener { override fun onTabSelect(position: Int) { switchFragment(position) } override fun onTabReselect(position: Int) { } })
object: OnTabSelectListener
A modern programming language that makes developers happier.