Skip to content

A simple implementation of tabs view with trailing counters

Notifications You must be signed in to change notification settings

Steyrix/TrailingCounterTabsCompose

Repository files navigation

I recently noticed that current Compose has LeadingIconTab composable, which is great. But there is no alternative for cases, when I want my icon (or badge) to be trailing. I created my own implementation of tabs view with trailing counters.

Solution is pretty hacky since it uses offsets and raw numbers, but you are free to edit adjusting yourself.

TabsViewRecording.mp4

About

A simple implementation of tabs view with trailing counters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages