ga('send', 'pageview');
Categories
Blogg Mjukvaruhantverk Teknik Utvecklare

Improving the Compose DropdownMenu

When migrating to Compose you may have come upon the DropdownMenu or the ExposedDropdownMenuBox + ExposedDropdownMenu. These APIs provide an easy interface for showing a list of items in a dropdown menu to let users pick a choice of items. However, if you have more than just a few items to pick from, you may also have noticed that it’s […]

Categories
Blogg

Animated Selector in Jetpack Compose

Are you migrating to Compose but can’t get your AnimatedStateListDrawables to work? Here’s a solution that worked pretty well for me 👍 Some background… While trying to migrate BottomNavigationView to the Compose NavigationBar (Material3) I got stuck on errors when loading my icons in Compose. In my app, I’ve created AnimatedVectorDrawables using AnimatedStateListDrawable to automatically animate the navigation bar tab icons. I spent […]