Developer Productivity Engineer | Android | Productivity tools & ideas for Android, Kotlin & Gradle developers on medium.dipien.com

Automatically keep your Gradle project dependencies up to date

Image for post
Image for post


8 ideas to improve your Circle CI configuration on android projects

Image for post
Image for post

1. Define executors for each resource class

references:  android_config: &android_config
working_directory: "/path"
docker:
- image: circleci/android:api-30
executors: android_executor_small:
<<
: *android_config
resource_class: small
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx2g -XX:MaxPermSize=2g"
android_executor_medium:
<<
: *android_config
resource_class: medium
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4g -XX:MaxPermSize=4g"
android_executor_medium_plus:
<<
: *android_config
resource_class: medium+
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx6g -XX:MaxPermSize=6g"

2. Unify Gradle user home path between different docker images


6 steps to stop using Jetifier and increase your build speed

Image for post
Image for post


Summary of official Google development resources

Image for post
Image for post

Documentation

Source Code

Issue Tracker

Twitter

Samples

Medium

Youtube

Codelabs

2020


Summary of official android development resources

Image for post
Image for post

Documentation

Source Code

Issue Tracker

Samples


Why generating the BuildConfig class is a bad idea

Image for post
Image for post
  • when I say debug code, I am talking about the code available on the local builds used by developers when they pick the debug variant. It is typically located at src/main & src/debug source sets.
  • when…


Image for post
Image for post

Kotlin in Action

  • Authors: Dmitry Jemerov & Svetlana Isakova
  • Year: 2019
  • Buy on Amazon: Paperback


Summary of official android development resources

Image for post
Image for post

Documentation

Issue Tracker

Android Developers Blog

2018

Medium

2020

2018

Youtube

2018

Android Jetpack: sweetening Kotlin development with Android KTX (Google I/O ‘18)
Android Jetpack: KTX — Sweeter Kotlin Android Development

Summary of official android development resources

Image for post
Image for post

Documentation

Source Code

Blog

Forum

Slack

Issue Tracker

Samples

Android Developers Blog

2020

2019


Summary of official android development resources

Image for post
Image for post

Documentation

Source Code

Issue Tracker

Samples

  • BasicSample — Shows how to persist data using a SQLite database and Room. Also uses ViewModels and LiveData.
  • LiveDataSample — Shows how to integrate Kotlin coroutines with Architecture Components…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store