TabLayoutMediator(
tabbedFragmentView.tabs,tabbedFragmentView.view_pager)
{ tab, position ->
tab.text = tabFragmentList[position].title
}.attach()
I could not find a way to set a subtitle, there is only one set text function available it would be the main title for the tab layout tab what if I want a subtitle too.