Android United – Telegram
Android United
168 subscribers
78 photos
4 videos
10 links
Hi, I'm @p_val and here I share a good stuff on my way of becoming better Android developer.
- best practices
- important releases
- tools and libraries
- tips and tricks

#tips #kotlin #lint #db #ui #lib #testing #gradle #security #IoT #animation #rx #ai
Download Telegram
Cicerone — lightweight library that bring easy navigation to Android app.

- lifecycle-safe
- is not tied to Fragments
- functionality is simple to extend

Github: https://goo.gl/ZG9M94

#navigation
Device metrics – library of devices from Google.

It provides the list of most used devices with a comprehensive metrics denoscription.

material.io/devices/

#tools #tips
Android "launchMode" is must-know topic for all Android Developers.

Simple [visualized]: https://goo.gl/0mNfXJ
Deeper [visualized + code]: https://goo.gl/uSD3pY

#article
Topics:
– types of Transition
– use XML Transitions
– backport for pre-Lollipop animation
– custom Transitions

Read more: https://goo.gl/nEK8rP
Github: https://goo.gl/y0f7IJ

#UI #animation #article
This media is not supported in your browser
VIEW IN TELEGRAM
Color Tool – a new resource from Google for creating color schemes, testing accessibility, and previewing your UI in color.

Check it now: material.io/color

#ui #tool
Codelab: Android Things

Getting a lot of news about Android Things but never tried? Build a weather station that reads environmental temperature and pressure.

https://goo.gl/D7IZGw

#IoT
DiffUtil – it's much faster than notifyDataSetChanged().

Read more: https://goo.gl/ZAnsRR
Google doc: https://goo.gl/YS0wO2
Sample: https://goo.gl/Yw4Wx3

#tools #tips
Store passwords or any other sensitive data. It is much more difficult for attackers, or malicious/unauthorized software to get encrypted data.

Read more: https://goo.gl/REOVtY

#security
Gesture detection library: flip, light, orientation, proximity, shake, wrist twist, movement, sound level and others.

Read more: https://goo.gl/oRDKf7
Github: https://goo.gl/FXA4nF

#lib
🚀 Ultimate Android Reference

Usually, when I'm looking for a library for my new project I go to awesome-android or android-arsenal. They have a plenty list of libs but a lot of them are not well tested and pretty unknown. Moreover, frequently there are 10+ libraries for each topic and it's not so easy to choose the right one.

Today I discovered these guys: Ultimate Android Reference. They are focused on most popular and well-tested resources only. Each library from the list are well known and frequently used.
Maybe you're using some of them. Probably you even heard about some other. For example, by discovering CTRL + G I've changed my work completely.

Read more: https://goo.gl/zzvxNi

#tips
Today the Google Android team announced full support for Kotlin.

How Kotlin boosts Android development:
https://goo.gl/0D3M9o

Easily switch from Java to Kotlin:
https://goo.gl/beCrj9

#kotlin
Spend less time on configuration and be more efficient.

- gitignore.io
- tools folder
- productFlavors
- keystore
- proguard
- strict mode

Read more: https://goo.gl/1bEMZw

#tips #gradle #tool
Feel the full power of building efficient UI.

- creating chains of views
- use ratios (1x1, etc.)
- guidelines
- complex centering
- spaces for negative margins

Read: https://goo.gl/WLTCi4

#ui
Gradle 4.0 reached "release candidate" state!

How fast is it: https://goo.gl/XW3oRa
How to migrate: https://goo.gl/CEGVio

#gradle
Dynamically link Git commits to versionCode and versionName of the app.

- versionName + commit hash
- versionCode as a timestamp
- Groovy lib to use Git

Read more: https://goo.gl/ft1Viv

#tips
Sign your application directly on Google Play.

Read more: https://goo.gl/E9mQYB

#tips
The article has 3 parts:
1. Higher-order functions and Lambda expressions
2. Local Functions
3. Delegated Properties

Full article: https://goo.gl/mhV3QW

#kotlin
- how to use ViewModel
- ViewModel with non-default constructor
- LiveData
- LifecycleObserver

Full article: https://goo.gl/5p9gsd

#architecture
How to configure:
- Lint
- PMD
- Findbugs

Full article: https://goo.gl/1qgWJg

#tips
- Espresso 3.0.0 (+ Multiprocess)
- Idling Registry
- Idling Resources
- Grant Permission Rule
- Android Test Orchestrator
- New AndroidJUnitRunner

Full article: https://goo.gl/5URqCo

#testing