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
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
[ 5 min read + video ]

- proper abstraction
- analytics tools are available “everywhere”
- async tracking

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

#analytics
[ 3 min reading ]

Anko speeds up Android development with the capabilities of Kotlin.

- listeners, intents, dialogs
- easy threading
- no more findViewById

https://goo.gl/7aB9Bz

#kotlin #lib
You know how fancy is the UI of Uber app. This project shows how it could be implemented. It has all that animations, fancy map's overlays and custom views.

Github: https://goo.gl/UDTTM3

#ui
The Android Lint utility is probably one of the most powerful tools in your arsenal that you are not using.

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

#lint #tools
- Variables
- Basic Types
- Arrays

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

#kotlin
Android 8.0 Oreo released officially
I gathered the most meaningful updates for you. Let's see what's new it brings to us!

Background limits
New limits on implicit broadcasts, background services and location updates. Read more: one, two.

Notification channels & badges
Grouping notifications together by their type. Users can control how things are displayed on a per-channel basis now. Read more.

Picture in picture
Shrink the view of an app into a small secondary overlay that can be positioned by the user at run time. Extremely useful after terrible multi-window mode we had before. Read more.

Adaptive icons
Now icons contain foreground image, background and a mask. Developers (we!) got the build in tool for Android Studio to create adaptive icons. How do they work?

Font resources in XML
Finally, fonts are the part of the Android native ecosystem. Now they are so easy to use as colors. We can use them in styles and Google even provide a bundle of all fonts out from the Android Studio. How to use them?

Autofill APIs
Autofill that I used so much on the web now migrated to mobile apps. Passwords stored and managed centralized and the user can choose which credentials to use. Read more.

WebView enhancements
Multi-process mode for WebView components, better ways to terminate a web view window, determine the priority of rendering a web view, Google Safe Browsing API. How to check URLs via Google Safe Browsing API?

Instant App support
Of course, we were waiting for this. Opens in 1 click, there is no install time. The existing apps require some changes to become really "instant". Getting started: step-by-step guide.

Devices that will get the update first: Pixel, Pixel XL, Nexus 5X and 6P.
Github + Bitrise.io:
- APK generation and distribution
- static code analysis
- tests running

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

#tips
Improve the overall experience of the users in your app by silently catching the crashes and restarting the app state.

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

#tips
[12 min read]

- Android Studio 3 + Kotlin
- Build Variants, ConstraintLayout, Data binding
- MVVM architecture
- RxJava2
- Dagger 2
- Retrofit
- Room

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

#tips #kotlin
[9 min read]

- service restrictions
- scheduling jobs
- high priority FCM/GCM
- foreground service
- broadcast restrictions

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

#tips
Firebase gives you freedom and autonomy with almost no investment. You can get it up and run even if you know nothing about servers, lambdas, node.js or hosting.

https://goo.gl/DEf6fG

#firebase
MapMe is an Android library written in Kotlin, bringing the adapter pattern to maps.

Know how to use a RecyclerView Adapter? Then you know how to use MapMe!

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

#lib
[8 min read]

- Implementing AsyncListUtil
- AsyncListUtil & viewport changes
- Sample with source code

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

#lib
[4 min read]

- Guidelines [% vs dp]
- Barriers usage
- Horizontal/Vertical Chain
- Groups

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

#ui
[6 min read]

- vector formats
- compatibility
- when to use
- vector animation

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

#ui
[12 min read]

- MVVM architecture + repository pattern + Android Manager Wrappers
- RxJava2 in architecture
- Dagger 2.11
- Retrofit (+ Rx Java2)
- Room

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

#kotlin
Chatbot in Android [3 min read]

- predefined answers
- voice commands

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

#firebase