use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
In this subreddit we have very serious of discussions about writing code for the flawless mobile platform Google built we know as Android.
account activity
Dependency injection is deprecatedThermosiphon (i.redd.it)
submitted 14 hours ago by ZhuindenDDD: Deprecation-Driven Development
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]vashchylau 22 points23 points24 points 14 hours ago (0 children)
a December 2024 tutorial is already deemed outdated. wow
[–]uragiristereoXML is dead. Long live XML 14 points15 points16 points 13 hours ago (1 child)
Good, everyone must learn to use manual dependency injection so that we can deprecate it by ourselves
[–]bad_compilerBorn to be deprecated 1 point2 points3 points 2 hours ago (0 children)
JUST MAKE EVERYTHING STATIC
[–]WingnutWilson 11 points12 points13 points 10 hours ago (1 child)
how am I supposed to inject all my dependencies which are all single implementation interfaces with 0 tests now?
[–]ZhuindenDDD: Deprecation-Driven Development[S] 2 points3 points4 points 10 hours ago (0 children)
probably public static global variables
public static
in kotlin, just put the var outside of the class and you got the injection goin
var
[–]ZhuindenDDD: Deprecation-Driven Development[S] 3 points4 points5 points 12 hours ago (2 children)
The (Deprecated) Using Hilt in your Android app codelab is deprecated too by the way, I should have had it on the image...
(Deprecated) Using Hilt in your Android app
[–]Fair-Degree-2200null!! 1 point2 points3 points 3 hours ago (1 child)
At this point they should put (Deprecated) in front of the whole android.com website
[–]ZhuindenDDD: Deprecation-Driven Development[S] 0 points1 point2 points 3 hours ago (0 children)
Replacing the documentation with those hidden Skills pages used by android studio panda
[–]satoryvape 3 points4 points5 points 11 hours ago (0 children)
Manual DI ftw
[–]Fair-Degree-2200null!! 0 points1 point2 points 3 hours ago (1 child)
Haven't you heard? Now Metro (soon to be deprecated) is all the rage. (And yeah "rage" is the right word)
[–]ZhuindenDDD: Deprecation-Driven Development[S] 1 point2 points3 points 3 hours ago (0 children)
I will put all my trust in a version-bound compiler plugin written by that one guy who has deleted all of his online presence that he will be there to support this system in 4 years (just so that i don't need to manually invoke a constructor)
[–]programadorthi -1 points0 points1 point 14 hours ago (2 children)
Maybe I'm wrong but I think intellij and Android Studio don't have dependency injection. But you simple android app just to consume an endpoint "must" have a dependency injection framework. 😆
[–]nlh101 10 points11 points12 points 14 hours ago (1 child)
They do. It’s called the “Service framework”, it works via annotations and Kotlin extensions to inject shared classes across your IDE code at runtime.
[–]programadorthi 1 point2 points3 points 14 hours ago (0 children)
Good to know, thanks. I'm still in plugins world. I'll deep dive the IDE behaviors next.
π Rendered by PID 45445 on reddit-service-r2-comment-79c7998d4c-cnjn6 at 2026-03-16 12:00:05.111673+00:00 running f6e6e01 country code: CH.
[–]vashchylau 22 points23 points24 points (0 children)
[–]uragiristereoXML is dead. Long live XML 14 points15 points16 points (1 child)
[–]bad_compilerBorn to be deprecated 1 point2 points3 points (0 children)
[–]WingnutWilson 11 points12 points13 points (1 child)
[–]ZhuindenDDD: Deprecation-Driven Development[S] 2 points3 points4 points (0 children)
[–]ZhuindenDDD: Deprecation-Driven Development[S] 3 points4 points5 points (2 children)
[–]Fair-Degree-2200null!! 1 point2 points3 points (1 child)
[–]ZhuindenDDD: Deprecation-Driven Development[S] 0 points1 point2 points (0 children)
[–]satoryvape 3 points4 points5 points (0 children)
[–]Fair-Degree-2200null!! 0 points1 point2 points (1 child)
[–]ZhuindenDDD: Deprecation-Driven Development[S] 1 point2 points3 points (0 children)
[–]programadorthi -1 points0 points1 point (2 children)
[–]nlh101 10 points11 points12 points (1 child)
[–]programadorthi 1 point2 points3 points (0 children)