Sign in

Alex Vanyo

@vanyo.dev
623 followers 104 following 126 posts

Android Software Engineer Helping build adaptive Compose everywhere!

PostsRepliesMedia
Alex Vanyo @vanyo.dev · 13/12/2025
That way, resizing the window smaller will remain on the list until you've directly navigated to the detail, and then resizing smaller will remain on the detail. No need for an empty detail placeholder:
010
Alex Vanyo @vanyo.dev · 13/12/2025
Idea 1: I have a list-detail setup for my settings, but if there's even more space available, I want the entire list-detail setup to be in a dialog. I can do that by creating a custom DialogSceneStrategy that wraps my other scene strategies, and having the DialogScene wrap an arbitrary Scene:
110
Alex Vanyo @vanyo.dev · 18/02/2025
As a daily user of this app, it's really great. There's also an adjust serving size feature which updates the ingredients amounts dynamically once you've made the recipe:
130
Alex Vanyo @vanyo.dev · 29/12/2024
After figuring out how to make the coordinates work, it's so satisfying to use a live-updating drag and drop that previews where the dropped content will go.
2120
Alex Vanyo @vanyo.dev · 08/12/2024
We already stopped using Hershey's, but last camping trip we used 2 of these instead of using graham crackers and chocolate, it was an upgrade in every way. Pre-layered for ease of assembly in the dark, double the chocolate (top and bottom). Never buying graham crackers again for s'mores.
260
Alex Vanyo @vanyo.dev · 20/11/2024
Or if you stopped reading at "regular expression", Gemini can probably just do it directly too!
Using Gemini to add #libraryName above each version in libs.versions.toml
000
Alex Vanyo @vanyo.dev · 20/11/2024
And before you go and try do that change manually, you can use a regular expression find and replace and captured groups to do it in one fell swoop. More details: www.jetbrains.com/help/idea/tu...
Using a regular expression search and replace to add anchor version tags
110
Alex Vanyo @vanyo.dev · 20/11/2024
Annoyed with merge conflicts when updating versions in libs.versions.toml? If you add a "#libraryName" above each version entry, you can avoid the merge conflicts caused by adjacent lines being updated independently since each simple version bump will have an unchanged line in-between another.
A libs.versions.toml file with library name tags for each version
280
Alex Vanyo @vanyo.dev · 17/11/2024
Is it over-engineered? Probably, but it helped me build a seamless handoff for concurrently editing state where the only direct point of communication between the two pieces of UI is a disk-backed DataStore.
060
Alex Vanyo @vanyo.dev · 17/11/2024
Let's start with the most straightforward approach: we observe the disk, use it to set the slider's current value, and when the user moves the slider, we update what's stored on disk. Seems great! We have a single source of truth for the state following unidirectional data flow. But...
120