r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Aug 14 '25
Thermosiphon Architecture astronauts love this single one trick for platform-agnostic clean code and best practices
79
Upvotes
23
u/farsightxr20 Aug 15 '25
public static volatile
11
u/dark_mode_everything Aug 15 '25
How else are we supposed to pass something >1Mb to another activity? /s
8
u/hellosakamoto Aug 15 '25
People have been quietly doing that by using Hilt. Everything is hidden as singletons in the name of DI, and nobody is bothered to check the DI implementation.
2
u/SyrupInternational48 Aug 15 '25
Can't be more Truth than Singleton.
2
u/amgdev9 Aug 15 '25
Also 1 line usecase class
1
u/AccomplishedRope8513 Oct 06 '25
Me ensina a clonar WhatsApp
0
u/[deleted] Aug 15 '25
[removed] — view removed comment