Android United
182 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
Make your Kotlin codebase happier [9 min read]

- sealed classes
- when() and with() like a boss
- withCorrectType()

Part 1: http://bit.ly/2kwxF4M
Part 2: http://bit.ly/2kw6VBi

#kotlin
Everything is hackable [10 min read]

- Protect your code
- Hide your network layer
- Prevent code stripping

Read: http://bit.ly/2D6UVBI

#security
- 3D in Android
- Depth and Z value
- Pressed and Resting states
- Outline

Read: http://bit.ly/2DdurP5

#ui
- When to show ‘rate app’ dialog?
- Prediction + Remote Config = ❤️
- Prediction experiment's results

Read: http://bit.ly/2Dk4s8w

#ai
- Interview structure (steps)
- How to prepare for each step
- Study Guide (what to learn)
- Resources (where to learn)

Read: http://lft.to/2DkeRRC

#tips
- How can percents make code sick?
- The secret ingredient
- Why are inserts sexy?
- Translate or not to translate?

Read: http://bit.ly/2DvPlJd

#tips
Run these 2 commands in terminal:
find ~/.gradle -type f -atime +30 -delete
find ~/.gradle -type d -mindepth 1 -empty -delete

Link: http://bit.ly/2Fdu2JM

#tips
Visualise the data working on the layout. No need to compile to check how the screen will look fulfilled with a real data.

Read: http://bit.ly/2E3tokT
Code: http://bit.ly/2E6kzqM

#tools #tips
This media is not supported in your browser
VIEW IN TELEGRAM
Facebook Shimmer – Android Content Placeholder Animation

- custom layout for placeholder
- color customization

Read: http://bit.ly/2EScqUR
GitHub: http://bit.ly/2ETq36f

#lib #ui
Easier life for Kotlin devs 😉

- Animator functions
- Time operations
- Utils
- OS
- Database Cursor
- SQLite
- Resources
- Text
- Graphics
- Views
- Transitions

Read: http://bit.ly/2sutUnx

#tools
- Checkout to another branch in 3 sec
- Search among banches
- Get rid of branches removed from a remote repo
- Aliases for quick actions

Read: http://bit.ly/2sErfb4

#git #tips
Step by step guide has 3 chapters.

- Taking a photo
- The photo is classified if it’s hot or not
- Results are shown on the screen

Read: http://bit.ly/2FRIkkK
Code: http://bit.ly/2FOBGeZ

#ai
Kotlin is like the Iron Man. Continuing this metaphor let's show the conciseness of Kotlin.

- Class creation
- Data modifier
- Operators

Read: http://bit.ly/2FR0fIp

#kotlin
Media is too big
VIEW IN TELEGRAM
Android P - the newest version of Android

• Indoor positioning
• New notifications
• Multi-camera API
• Secure transactions
• Optimized Kotlin
• much more...

Read: http://bit.ly/2FoCmXj
- Do you have a project with different Gradle flavors?
- The apps are similar but some screens are different?
- Don't know how to manage test for each of them?

Read: http://bit.ly/2FRkKVi

#testing
• Build your own library
• Provide access to your new library
- as a Git submodule
- in a self-contained file
- via Nexus repository

Read: http://bit.ly/2FSeRaj

#lib #tips
Helps if you need to know:
- was the fingerprint successfully accepted
- was there an error while validating
- if sensor was locked, when will it be available again

Link: http://bit.ly/2FQhVUi

#lib
This media is not supported in your browser
VIEW IN TELEGRAM
How to get transitions working nicely with fragments. Building shared elements transition and making it easy.

Read: http://bit.ly/2FT0nao

#ui #animation
- Data classes
- Native side (JNI)
- resources from JAR/APK
- third party libraries
- Debugging and stack traces
- ProGuard optimizations

Read: http://bit.ly/2CX95kz

#tips
Now even better then Fabric!

- Integration with Analytics events
- Logs with steps to reproduce crash
- Smart crash insights

Read: http://bit.ly/2GdgrDJ

#news