News for hackers. Stuff that matters.
Re:Open sourcing our Android and iOS apps by V-2 on Wednesday December 14, 2016 @02:02PM (#13178695)
Yeah, they sort of rolled out their own MVVM implementation, based on RxJava and RxLifecycle.

On Android MVVM is more difficult than MVP in my opinion (the most popular choice, not counting spaghetti projects), mostly because the platform doesn't provide the "glue" needed to bind viewmodels to the UI layer. At first glance it looks like they did it without overengineering, which is another trap as far as these matters go.

Clearly a work of very good experts

Re:Open sourcing our Android and iOS apps by Plaastix on Wednesday December 14, 2016 @02:06PM (#13178725)
That "glue" can be Android's Databinding library. I've used it to bind ViewModel data to views. Works really well.
Re:Open sourcing our Android and iOS apps by V-2 on Wednesday December 14, 2016 @02:07PM (#13178742)
I'm aware of it, but last I checked it didn't seem production-ready and lacked features. I believe they updated it at some point, but other than some talk at Google IO not much came out of it - even the docs didn't reflect it back then. Perhaps it's up to the task now, I admit I'm not looking it up regularly.
Re:Open sourcing our Android and iOS apps by Plaastix on Wednesday December 14, 2016 @02:24PM (#13178882)
It is definitely production ready now.
Re:Open sourcing our Android and iOS apps by V-2 on Wednesday December 14, 2016 @02:06PM (#13178726)
> In less than eight months, four engineers who had never written production Java code, let alone production Android code, shipped a 1.0.

Wow. That's pretty impressive

Re:Open sourcing our Android and iOS apps by brianwawok on Wednesday December 14, 2016 @09:18PM (#13181796)
It's impressive that it took almost 3 person years to ship a 1.0 of a basic app?
Re:Open sourcing our Android and iOS apps by rtpg on Thursday December 15, 2016 @12:31AM (#13182671)
it's impressive that 3 person years from _no Java experience_ was all it took. Java and Android are complex ecosystems.

Not to say they couldn't have shipped it in less time. Of course they could have. But it sounds like they shipped something very well built.

Re:Open sourcing our Android and iOS apps by flukus on Thursday December 15, 2016 @12:37AM (#13182688)
But what other languages did the have experience with? If it was something similar like c#/c++/ruby/python then the time to learn java should not be significant.
Re:Open sourcing our Android and iOS apps by V-2 on Thursday December 15, 2016 @05:42AM (#13183696)
When it comes to Android, Java by itself is the least of problems. It's the SDK and framework that are tricky, ridden with technical debt and often far from developer-friendly.
Re:Open sourcing our Android and iOS apps by matwood on Thursday December 15, 2016 @09:52AM (#13184918)
I was about to say this. In fact, you have to unlearn a lot of what works and is accepted in server side java when you move to Android. Learning the SDK and Android gotchas was by far the hardest part of my first Android app.
Re:Open sourcing our Android and iOS apps by flukus on Thursday December 15, 2016 @04:39PM (#13188690)
Yes Android is particularly complicated, but not to the point where 3 experienced developers building an app in 8 months is in any way remarkable.
Re:Open sourcing our Android and iOS apps by V-2 on Thursday December 15, 2016 @05:47AM (#13183707)
I have never used this app myself, I don't know whether it's complex. I only peeked at the source code. And yes I was referring to the contrast between how neatly written it is, and their lack of experience with the platform, not how fast they did it.

Development on Android tends to be slow overall, owing to numerous intricacies of the platform, but I believe that in general taking some extra time to roll out a clean and polished version 1.0 will pay off when it comes to 2.0 and 3.0. It's always easy to move fast in the beginning, use lots of duct tape and snap something out rapidly, but it comes at a cost and then you get bogged down further down the line

Re:Open sourcing our Android and iOS apps by polarisrising on Thursday December 15, 2016 @01:36PM (#13186912)
When dealing with MVP on Android, how did you deal with dynamic view creation?

Right now we are working on a rearchitecture and are finding that creating dynamic views in the Activity/View requires business rules we are putting in Presenter. But the Presenter doesn't have context.

Re:Open sourcing our Android and iOS apps by joblack33 on Wednesday December 14, 2016 @03:31PM (#13179387)
Speaking of MVP, check here too:

https://github.com/6thsolution/EasyMVP