maybe something like that? ``` (0..tabCount).m...
# codereview
c
maybe something like that?
Copy code
(0..tabCount).mapNotNull { getTabAt(it) }.forEachIndexed { i, tab ->
        tab.customView = getTabItem(this@tabLayout)
        tab.customView?.isSelected = i == 0
        tab.setIcon(tabImages[i])
    }
👍 1