Sabitlenmiş Tweet
Maksim Kovalev
511 posts

Maksim Kovalev
@0neel
Android TechLead at @DodoEngineering
Budapest Katılım Kasım 2011
118 Takip Edilen158 Takipçiler

@marcinm_android It would be nice to have composable inline functions to avoid doing this lambda trick.
English

@SarmadSohaibb @viradiya_sagar I get the same issue with every update. Manually importing settings from the previous version helps.
English

Android studio ladybug live up to name. Full of bugs 🐞
I ran out of IDE java heap (8 GB) twice and had to restart. Seems like memory leak.
Indexing is super slow 🐌
Git integration having issues with rebasing 🥲
Curious if others are also facing same?
#AndroidDev
English

@akaDuality @paulchelly Сначала узнаю, что имеется ввиду под "тормозит" 🙂
Русский

@paulchelly Вот тормозит экран, что будешь делать?
Джун: посмотрю код (удачи)
Мидл: открою профайлер
Синьор: вот по типам проблем инструменты, вот какие кейсы были на уровне процессора/памяти/сети/графики.
Итоговый уровень соберется из разных тем. На мидла нужен UI, для синьора — остальное
Русский

@sylvie_b3 @Zhuinden @androiddevnotes Some would say manual classes construction. I find it ridiculous since Retrofit itself is as far from plain network requests as Hilt from manual constructors calls.
English

@Zhuinden @androiddevnotes Why is using Dagger/Hilt for dependency injection not considered a best practice? What should be used instead?
English

@0neel The inject constructors make code non-transferable, I regret having used them in the past.
English

Or, hear me out, you can just add the Inject annotation and stop writing those goddamn constructors and start writing actual code.
Gabor Varadi@Zhuinden
Alternately, realize that Hilt and Koin don't really do much other than that you have to "type a little less code". Though if you use Dagger enough, you find that the "less code" is actually more code. If you ever try to Ctrl+Shift+F and half the finds are Modules, you get it...
English

I love @GitKraken but it's ridiculous that it crashes if a changed file has "constructor" or "tostring" substring in the name. And the only way to resolve that is to use some other client to commit changes. What a shame.
English

@oleg_nenashev @androiddevnotes @gradle Sorry, how is that related to transitive dependencies verification? I’m really interested in the topic but see no direct connection.
English

@androiddevnotes I highly recommend the built-in solution to enforce the dependencies BOM in Gradle. IMO it should be enabled by default in @gradle, rather sooner than later docs.gradle.org/current/usergu…
Neuchâtel, Switzerland 🇨🇭 English

Dependency Guard
(github.com/dropbox/depend…)
A Gradle plugin that guards against unintentional dependency changes

English

@devundefined1 Для меня это довольно разные напитки, примерно как красное и белое вино. Можно одновременно любить оба варианта.
Русский

@danielatitienei Just remember that you should add the ensureActive call to the catch to gracefully handle cancellation betterprogramming.pub/the-silent-kil…
English

I don't always contribute to open-source projects but when I do it's the most famous lib on the platform github.com/square/retrofi…
English

@igorwojda Konsist's docs state that there is no way to generate tests dynamically in JUnit 4. I think that's not true - there are Parametrized tests which do exactly that. Am I missing something? docs.konsist.lemonappdev.com/advanced/dynam…

English

@Zhuinden @androiddevnotes I can totally understand that. Everything comes with its drawbacks. That's why I'm not ready to rely on Hilt or Anvil. Pure Dagger gives more control and clarity.
English

@0neel @androiddevnotes I used to think the same, but found that the constructor calls have much less cost than the code generation + navigating around the generated code. 🤔
English

@Zhuinden @androiddevnotes It’s not difficult. I just hate writing constructor calls manually. Dagger does that perfectly for me.
English

@androiddevnotes For the longest time, people pretended that creating instances of classes in `Application.onCreate()` is "difficult and a lot of boilerplate", but in reality it's actually less work than if you use something like Dagger or Koin, and easier to customize too. It's a single file tho
English








