3 ms·
For Android at least, the async tasks pieces seem very interesting, although a little verbose. I guess it can't be helped in Java though. If Android adopts Java
by leobelle 13y ago
For Android at least, the async tasks pieces seem very interesting, although a little verbose. I guess it can't be helped in Java though. If Android adopts Java 8's lambdas that should clean up nicely though.
- rst 13y agoOr you could try programming in Scala, though it's an awkward fit to Android. Scala's standard library is large enough to strain size limits on an Android app, to the point that shrinking things down with ProGuard is pretty much a requirement. That said, using the tools of more modern JVM-based languages can tighten up your code in all sorts of ways. An experiment along those lines is here: https://github.com/rst/positronic_net https://github.com/rst/positronic_net http://rst.github.io/positronic_docs.html http://rst.github.io/positronic_docs.html