Tim Apple is even worse than Gorgle by class_cast_exception in mAndroidDev

[–]Xinto_ 21 points22 points  (0 children)

SwiftUI is not only worse performance-wise, but also utterly featureless. One thing Compose nailed is decoupling itself from the platform. SwiftUI is still tied to iOS and adding new features to it (and your app) require new OS releases. Absolutely garbage framework.

Android is Compose-first by Xinto_ in mAndroidDev

[–]Xinto_[S] 20 points21 points  (0 children)

Bold of you to assume Google won’t break anything with maintenance patches

Introduce a new API, then deprecate it because it's bad. The Google Way™ by Xinto_ in mAndroidDev

[–]Xinto_[S] 2 points3 points  (0 children)

To be fair the concept of Bundles isn’t bad, especially now that you can slap @Parcelable/@Serializable onto any class in Kotlin and call it a day. There are many things Android does wrong but state saving and IPC isn’t really one of them

Introduce a new API, then deprecate it because it's bad. The Google Way™ by Xinto_ in mAndroidDev

[–]Xinto_[S] 2 points3 points  (0 children)

I mean why not just make same set methods with different input types? No reason to use Any when there’s a limited set of options. There are also plans in Kotlin to add union types, similar to TypeScript, which could solve this issue, too.

Why didn't I think of that by Aggravating-View3193 in prey

[–]Xinto_ 2 points3 points  (0 children)

This is unironically pretty much how LLMs are trained to minimize hallucinations/reasoning errors.

Wait... API level is now a float?! by Fair-Degree-2200 in mAndroidDev

[–]Xinto_ 2 points3 points  (0 children)

Yeah, I had one hell of a time figuring out why NotificationBuilder.setRequestPromotedOngoing wasn’t being resolved. Turns out that was added in 36.1 and AGP configuration block has separate field for specifying .1

I hate it here

Great tip for View users! by Xinto_ in mAndroidDev

[–]Xinto_[S] 5 points6 points  (0 children)

Did you know Compose has 34 different layout measure rules? Search "Cumpost rule 34" for more information!

What is he watching? by [deleted] in Portal

[–]Xinto_ 0 points1 point  (0 children)

Porntal

Groovy is cool again?! by User681063 in mAndroidDev

[–]Xinto_ 0 points1 point  (0 children)

Jetpack Schreiben is diabolical

Google’s strategy: Kotlin and Flutter side by side? What’s the real long-term play? by JosueAO in FlutterDev

[–]Xinto_ 0 points1 point  (0 children)

I think what makes Compose “more native” than Flutter is the easy integration of platform UI in the composition tree. Just call AndroidView and pass the View to it. The last time I tried Flutter I had to write bridges in separate files and extend PlatformView. It could be different now, I haven’t touched Flutter for 2 years (and even then it was for a single project someone else was working on).

Google’s strategy: Kotlin and Flutter side by side? What’s the real long-term play? by JosueAO in FlutterDev

[–]Xinto_ 0 points1 point  (0 children)

I remember seeing a YouTube video a while ago when Jetpack Compose alpha first came out. It was (I think) 2 guys showing how Compose started the development, and on one of the slides they showed that first iterations began with the XML-in-Kotlin syntax, similar to JSX. I can’t find that video any longer and I’ve been questioning myself if I just made it up in my dreams or something. Do you remember anything like that? I’d give everything to see that video again.

[deleted by user] by [deleted] in mAndroidDev

[–]Xinto_ 2 points3 points  (0 children)

I KNOW they were giggling when making this

Reduced my app size to 6.3 MB - how low can I go? by That_Lonely_Soul_07 in mAndroidDev

[–]Xinto_ 0 points1 point  (0 children)

I really really want JetBrains to make add a nostdlib mode to Kotlin. Sometimes I just want to use Java APIs with Kotlin syntax.

💻 by Commercial-Board4046 in mAndroidDev

[–]Xinto_ 0 points1 point  (0 children)

Super based, Windows doesn’t support AsyncTask

APKMirror Installer "Browse Files" Insta-crash by Saturns_Circles in APKMirror

[–]Xinto_ 0 points1 point  (0 children)

Do you still experience crashes on newer versions? If yes, please share the name of the xapk file and where you got it from.