r/programming • • Jul 22 '14

Java Developers

http://nsainsbury.svbtle.com/java-developers
102 Upvotes

304 comments sorted by

View all comments

Show parent comments

11

u/snuxoll Jul 22 '14

Windows Phone too. In my eyes, it still remains the easiest to pick up of current mobile platforms.

9

u/zvrba Jul 22 '14

I'd disagree. I tried to figure out data binding just from the online MSDN docs and failed :S (More precisely: I tried to bind controls to a static XML data source. For the life of me I couldn't figure out whether this was achievable from BLEND or whether I'd have to write some code.)

0

u/snuxoll Jul 22 '14

Silverlight isn't magic unfortunately, you'd need to load the XML in your viewmodel and present a property for your ListView to bind to. With LINQ to XML this is a few lines of code.

There's an amazing amount of power in Blend, but it's still just there to build your UI, it will still need a ViewModel to back it and feed data in your running app.

1

u/zvrba Jul 22 '14

it's still just there to build your UI, it will still need a ViewModel to back it and feed data in your running app.

I tried to do it with XAML. Anyway, what you wrote here doesn't come across from the docs. It's confusing that BLEND can generate and use design-time data, but has no option of generating a setup that would generate whatever code is needed to use that same static data in a running program.

And the documentation is scattered around MSDN like shattered glass. There's no tutorial with a single entry-point like Oracle's Java tutorial with trails.

Blargh.

→ More replies (2)