Looks like a good time to turn up here! :smile:
# compose-desktop
k
Looks like a good time to turn up here! πŸ˜„
πŸ’― 2
Hey @darkmoon_uk! Just created a sample DC project in IJ to try.... I do like the look of Compose, and its more formidable backing! Nice to see it's just made Beta!
d
Welcome to the party! πŸ˜† Let me know if you have any questions, I don't have all the answers but have been using it for a while.
k
Well that will be a good start! πŸ˜„
d
Oh I never got back to you about the serialisation thing
So if you want to store a train layout in your designer, you'll be looking to define a data model for the track and serialise that
yes black 1
I wouldn't be trying to serialise the UI components themselves, if that's what you had in mind?
I don't know what understanding you have of UI architecture but MVVM style works well with Compose.
πŸ‘πŸ» 1
Model your data, have a ViewModel that takes your data and further models the on screen representation of it, then finally a View that binds to the ViewModel
And it's only that last View bit that you define in Compose
k
Just got into researching the variations of MVC the last couple of months. Been into relational databases before, so quite similar concepts.
Your hints above have clicked, so will give me some direction thanks!
πŸ‘ 1
So much to learn, so much grass to mow, so much mower to fix...
d
Haha literally or figuratively!? I was down the mower shop today leaving my chainsaw chains outside to get sharpened (contactless)
k
Both sadly. Well happily the drought has broken so last summer I had to get my ride-on out again! But now I'm impatiently waiting on a new ignition coil for it to try and catch up!
πŸ‘ 1
I found it was cheaper to buy new chains than pay to get them sharpened!
I usually sharpen my own until it gets all out of balance.
d
I should probably do the same but to many things to do and they do it quite cheap down the road
k
Usually a better result.
d
Got to go, putting the kids to bed
k
Using their machine I mean.
Yeah mate, I should jump in too, but just want to test this app!
Goodnight!
d
Look forward to hearing more about your project some time 😊
Night πŸ‘‹
k
Will do, mate. Thanks!
Well, that sample app was rather painless! Not like all the fiddling I had to do to get a #&110 VV0R1|) out of Tornado!
πŸ‘ 1
message has been deleted
πŸŽ‰ 2
jetpack compose 3
c
When the sample app works... It's like magic.
k
But so fast, and light and presentable! Very well prepared back-end by the looks.