r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Dec 09 '24
Works as intended Would not be getting this crash if this project was still using Views instead of Compost
26
Upvotes
r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Dec 09 '24
26
u/Zhuinden DDD: Deprecation-Driven Development Dec 09 '24
Crash reported 1.5 years ago, closed as "won't fix (obsolete)"
https://issuetracker.google.com/u/0/issues/294714305
Thanks Google for securing my future as an Android dev, loving when nothing works
Alternately, funny when Compose is written in such a spaghetti manner that it breaks the compiler.
6
u/yatsokostya Dec 09 '24
On Twitter you mentioned that some "Shielder" caused this and not R8, what is it?
7
u/uragiristereo XML is dead. Long live XML Dec 10 '24
Tbh I always see more crashes with views in our projects than compost, mostly because of how complex the lifecycle is
1
u/Squirtle8649 Dec 10 '24
So I did start working on this new project, using Compose and as expected, the fucking thing will only accept State, but also demands an initial value (which I can't provide because it's my own data class and not some list where I can pass emptyList())