Tag Archives: Mykhailiv

Hints in Compose. Building a custom solution to show… | by Viktor Mykhailiv | Feb, 2025

Hints in Compose. Building a custom solution to show… | by Viktor Mykhailiv | Feb, 2025

Gemini generated Sometimes our apps need to highlight some UI components, e.g. during the first login (onboarding), or when we added something new (“what’s new”). In this article I will guide on building a custom solution to show hints / tooltips, pointing to a particular UI element in Compose (Compose Multiplatform and Jetpack Compose). To highlight a UI element firstly …

Read More »

Draw sleep timeline graph in Compose | by Viktor Mykhailiv | Jan, 2025

Draw sleep timeline graph in Compose | by Viktor Mykhailiv | Jan, 2025

Gemini generated Custom drawing is useful for when the built-in components just don’t cover exactly what our app needs. This article provides a guide to create a custom sleep timeline graph, similar to those you can find in the Fitbit app. Screenshot from Fitbit Android app To get started with drawing in Compose we can use drawing modifiers or Canvas …

Read More »

How to get Activity in Compose. Explore the latest androidx.activity… | by Viktor Mykhailiv | Jan, 2025

How to get Activity in Compose. Explore the latest androidx.activity… | by Viktor Mykhailiv | Jan, 2025

Tip: in case there are some limitations on your project and you can’t use the latest androidx.activity:1.10.0 dependency we can go with a workaround by setting a package name to a file in our project the same package name where we can find LocalActivity composable which will benefit us in the future when the latest dependency is used avoid unnecessarily …

Read More »