Android Reading June 23rd 2017
Summer has begun!!! Now is a great time to get outdoors, enjoy the weather, and sharpen your Android skills! We’ve picked some of the best content from this past year to make it easy.
realm in 2017 Android Developer Summer Binge List
Because WebView is distributed as a separate APK, Safe Browsing for WebView is available today for devices running Android 5.0 and above. With just one added line in your manifest, you can update your app and improve security for most of your users immediately.
Xiaowen Xin and Renu Chaudhary, Android Security Team in What’s new in WebView security
Two years ago I swore I wouldn’t start seriously learning Kotlin until Google announced support for it. They’ve now done just that—and here I am learning it.
Jose Luis Franconetti in Kotlin for Android Development: Heavyweight Language or Hopeless Hype?
Android Reading June 22nd 2017
Behind every successful technology is a strong ecosystem. Without the right tools and community, a new programming language will never achieve the uptake required to become a success. That’s why it’s so important that Kotlin is built into the Java ecosystem rather than outside of it.
Android Reading June 21st 2017
In Kotlin, every class is
finalby default. You must explicitly use the keyword
open, which is the exact opposite of Java’s
final, to allow the class to be capable of inheritance.
Lukas Lechner in How “Effective Java” may have influenced the design of Kotlin — Part 2
Android Reading June 19th 2017
Creators of modern programming languages have a big advantage because they are able to analyze the weaknesses of established languages and make things better themselves.
Lukas Lechner in How “Effective Java” may have influenced the design of Kotlin — Part 1
They’re common sense language features that, when compared to Java, end up saving you a bunch of cognitive overhead, keystrokes, and time.
Android Reading June 18th 2017
I wanted to give a quick shout out to two Android apps that designers and app UI developers might find very useful in their work.
Android UI Patterns in Couple of Great Apps for Designers.
Android Reading June 15th 2017
To put it simple, coroutines are a way to write asynchronous code sequentially. Instead of messing around with callbacks, you can write your lines of code one after the other. Some of them will have the ability to suspend the execution and wait until the result is available.
Antonio Leiva in A first walk into Kotlin coroutines on Android.
In my personal experience, 60% of the transformed code is directly usable, and a bigger percentage for simple classes with no complex functionality.
Enrique López Mañas in On Strategies to apply Kotlin to existing Java code.
Android Reading May 30th 2017
But there is one other benefit of ConstraintLayout that most people are unaware of and the official documentation curiously doesn’t mention anything about: performing cool animations on your ConstraintLayout views with very little code.
Jinyan Cao writes in Beautiful animations using Android ConstraintLayout.
At I/O last week, Google announced a new tool called Room which makes working with SQLite databases a lot easier, but it begs the question: How well does it perform?
Jason Feinstein writes in Squeezing Performance from SQLite: Insertions (with Room).