Tom Koptel
79 posts


Found a fun opportunity for a live stream: Aurimas Liutikas will teach me how to profile Gradle configuration times, and maybe we'll fix something in kotlinconf-app!
Thursday, 8am PT / 5pm CET
twitch.tv/zsmb13
Mark your calendar for a reminder: addcal.io/e/5t99s5irjfqs
English

@alexstyl @knacid @alexstyl so using androidx.compose.ui.graphics.vector.ImageVector is better than Android XML vector in terms of the build times?
English

@JorgeCastilloPr @Composable
fun Welcome(){
Column {
Text(text = "👋")
Text(text = "Hello, dear community 🙂")
}
}
English

@Zhuinden I believe the question is not 'what is quicker?', but rather 'what brings the most confidence for development?' Ultimately, we cultivate confidence that may lead to quicker iterations, but this is more of a pleasant side effect than a goal.
English

When someone tells you that Jetpack Compose makes them "iterate quicker than ever", always keep in mind that rendering both a background and a border doesn't work reliably and you have to add 1.dp padding.
Open issue since April 2022.
So, what is faster?
issuetracker.google.com/issues/2289859…
English
Tom Koptel retweetledi

On my way to #DevFestVenezia 2024 🤩
Another great opportunity to meet some amazing people and talk about #JetpackCompose and CMP previews 🤩
#AndroidDev
English

@Zhuinden Can you point out why the Constraint layout is the least trustworthy component? Any other bad experiences using it?
English

So the bug was that having a ConstraintLayout, in a Column or Row with Modifier.fillMaxSize.
...that's it, that's the bug.
Loving it when Compose shows its fangs as a production-ready framework, though ConstraintLayout in Compose has always been the least trustworthy component.
theapache64@theapache64
I documented debugging of a Compose crash in parallel while debugging it 🙌🏼 theapache64.github.io/posts/that-wei…
English

@_takahirom_ @_takahirom_ thank you, that is a great piece of the software, love it ❤️
English

Currently implementing test preview display in Roborazzi for Android Studio and IntelliJ Plugin. If you have any feedback, please let me know. You can view Roborazzi images related to a specific test or @ Preview function. github.com/takahirom/robo…
English

@TomKoptel Personally, I chalk it up to Cargo Cult Programming + people being unwilling to question what they're given.
This article by Alexsandra Sikora goes into detail on how people often assume something made by others are "better because someone else made it".
aleksandra.codes/tech-content-c…
English

The idea behind MVI isn't inherently bad.
There's actually a very specific use-case in which the idea behind MVI shines.
The idea is called the Command Processor Pattern, allowing for the implementation of showing a list of executed commands, undo, redo.
cs.sjsu.edu/~pearce/module…
English

@VasiliyZukanov Nice summary 👍As a side question, do you know if any recent updates to AndroidX has official way of injecting one instance of the view model into another through constrctor? At the moment, I do rely on the method injection from the Activity/Fragment.
English

@VasiliyZukanov Nice trick, thanks for sharing :) The nice thing is that the trick with the manifest merger is applicable not only to the Firebase messaging case, bu essentially any other node defined in the AndroidManifest which can be manipulated with the manifest merger.
English

New post that shows a little hack to test Firebase Cloud Messaging pushes to Android apps locally using ADB.
techyourchance.com/test-firebase-…
English

If you like my content on Linux, Docker, and Kubernetes, and want to learn faster, go get iximiuz Labs Premium.
It’ll give you:
- x2-4 faster playgrounds
- unlimited daily playtime
- full content access
And it’s the best way to support my work ❤️🔥
labs.iximiuz.com/premium
English

@VasiliyZukanov Just for the reference here is an alternative github.com/AutSoft/Krate I've recalled as soon as saw a thread. @VasiliyZukanov do you need assistance with the maintenance of the lib?
English

@wesjon @VasiliyZukanov @wejson I'm using it for the snapshot testing on JVM, though it is not perfect. I need to host code in lib module. Interactions like click, swipes are not support or at least I didn't find a good way to trigger those.
English

@VasiliyZukanov @TomKoptel There is CashApp's Paparazzi that allows you to do screenshot and gif tests on the JVM. It's fast, easy to setup and works great with Compose. Closest thing to "UI unit test".
English

@VasiliyZukanov The code definition works the best for the to cross platform compose. XML for backward compatibility. It is worth to check how day-night theming or color derived from the OS would fit both models. If app is expected to load colors from API the code is the best place.
English

@carlvellotti Thank you for sharing:) Can you suggest any good reading that describes a justification for the sprint planning? I always felt this to be ineffective. I believe the Kanban flow is more effective.
English

@VasiliyZukanov Й hardly stands out for me, but ХУ can be spotted very easily 😝
English

Только я вижу здание обрамленное повторяющимся словом...? 😅
amul.exe@amuldotexe
The state of Indiranagar traffic is such that I can step out of the auto order idli parcel at Umesh pick it up and get back into the auto to go back to Whitefield just saying
Русский







