TabLayoutConfiguration

class TabLayoutConfiguration(var listTitle: List<String>? = null, var listIcon: List<Drawable?>? = null)

Author

jimlyas

Since

13 Jan 2023

Parameters

listTitle

List of String used as com.google.android.material.tabs.TabLayout's title

listIcon

List of Drawable used as com.google.android.material.tabs.TabLayout's icon

Copyright © 2022-2023 jimlyas. All rights reserved.

Constructors

Link copied to clipboard
constructor(listTitle: List<String>? = null, listIcon: List<Drawable?>? = null)

Functions

Link copied to clipboard
fun withIcons(listIcon: List<Drawable?>)

Function to define list of icon for the tab

Link copied to clipboard
fun withTitles(listTitle: List<String>)

Function to define titles for the tab

Properties

Link copied to clipboard
Link copied to clipboard