Why is MVVM for compose such a nightmare, i swear ...
# android
r
Why is MVVM for compose such a nightmare, i swear this framework is the most "half done" thing I have seen. Its like Desktop was just an afterthought... Oops forgot my actual question... Any MVVM framework for compose and KMP that actually works, as in desktop and android?
j
maybe this repository can give you some guidance. https://github.com/SEAbdulbasit/TravelApp-KMP/tree/master
❤️ 1
k
@Abdul Basit boss reach 🥹
😄 1
z
I mean, desktop was literally an afterthought, for some definition of “after”. Compose was started as the new Android ui toolkit.
And I’m curious why you think a UI toolkit (one of the V’s in MVVM) not being a full architectural solution makes it incomplete.
r
See things like that annoy me... Its the same garbage with kotlin too. SO much crap just revolves around android with everything in kotlin... even thought its probably the best syntax for a desktop language... SO annoying
z
I think people who are only concerned with building android apps might disagree that that focus is “garbage” and “crap”. Eg the Android toolkit team, which is where compose originated.
r
If i search information about java... I dont just get like 50 results about android. But if i put in "android" in the search i get mostly android results... That works as expected it makes sense. Kotlin does not. AND COMPOSE is particularly bad. DO you know how many times i got screwed over cuz the article was like 1 year old... meanwhile I can use 5 yr old java C# etc.. advice, and 15 yr old C advice...
Given that every other language I use has none of these issues... yeah its pretty crap... if it wasnt for how great of a lang kotlin was, i would have jumped ship due to this
z
So you’re mad the language is evolving quickly and heavily written about?
🤣 4
r
U ever try an android or IOS beta? especially IOS betas? Im one of those people who complain when the beta does not work just right
z
Btw, fwiw I also wish desktop and other platforms were more on equal footing with android in compose. But i get why it doesn’t necessarily make sense for google to care, so I try to just accept it for now. Maybe one day that will change, but not holding my breath.
Why would you complain about a beta having bugs? That’s kind of the whole point
r
Im mad cuz its an objectively better system, like srsly, compose beets android layouts and react... BOTH... its just these things that make it so annoying to use
For reference I also complained about a movie from the 1970's having worse graphics than one from 2015
z
Sounds exhausting
😂 1
a
@Rohan Sampat (Rom4ster) https://github.com/SEAbdulbasit/MusicApp-KMP do explore this, in this we are using decompose.
decompose 1