CursorAdapter and AsyncListUtil are discouraged. Use Paging instead with a neat, graceful offline use-case handling trick.
Don’t do manual bitmap management. Use Glide, Picasso, or Lottie instead.
Between TextureView and SurfaceView, use SurfaceView.
Nine-patches are discouraged. Use Vector Drawables.
Use FusedLocationProviderClient for fetching device location. Wi-Fi access triangulation is coming to Android P. FusedLocationProvider will eventually add support for that for indoor location tracking.
Only framework spans can be parceled, don’t mix custom spans with framework spans since only the frameworks will be part of the copied text
After ~250 spans or more, SpannableStringBuilder ends up being more performant than SpannableString since the former internally uses trees.
Metrics affecting spans cause measure-layout-draw calls, while appearance affecting spans cause layout-draw calls, therefore, the former is more expensive.
Text measurement takes a lot of time on the UI thread, consider creating PrecomputedText on the background thread.
android:autoLink = true works via RegEx and has bad performance. Consider using Linkify on the background thread. Android P also supports deep learning based TextClassifier which is also invoked on the background thread.
Testing your app for background restriction – adb shell appops set <package name> RUN_ANY_IN_BACKGROUND ignore # applies background restriction (change “ignore” to “allow” to remove restriction)
Next Billion Users
28% searches in India are voice searches
2-wheeler mode added to Google Maps
Google Tez uses Ultrasound for pairing and sending money to the nearby receiver
Files Go – Folder based hierarchy won’t work for users who have never had PC before. Therefore, shows photos based on associations like “WhatsApp Images” or “Camera”. Supports P2P file sharing for fast transfers.