Barcelona — Spain (2019)


As you noticed by the title, this is the third part of the series of articles explaining and describing my process of creating an application using dynamic features with Hilt/Dagger. You may find the previous posts here:

Hilt / Dagger

The proper setup to use Hilt in your application is well-described on Google’s webpage, but I’ll quickly show an example based on the code I implemented.

In order to use Hilt, we must annotate our Application class with @HiltAndroidApp.


If we are going to manage dependency injection on our app module, we can still use Hilt by adding…

Bologna — Italy (2019)


In our previous article we setup our Gradle file and now we are going to start working on our Navigation. If you haven’t checked yet, take a look at the first part of this series.


Our navigation file is going to include our dynamic features and here we must focus on few details otherwise, you’re going to face some issues (Trust me, I had so many issues with that).


As you can see, by adding the dynamic navigation library we have access to the “include-dynamic” object, which requires some parameters to make it work, you may take…

Paris — France (2019)


Dynamic-feature is a well-known approach that Google developed to reduce the APK size by using bundles, it was released in 2018 and it is going to be used in this article to separate our project into feature modules, but there’s something “new” despite the dynamic-feature that we are going to talk about, if you are an android developer, you probably have worked with some kind of Dependency Injection or Service Locator library, like Koin, Kodein, and the most popular… Dagger. …

Photo by Andrew Neel on Unsplash

Working with Google location is not exactly a simple task, but the FusedLocationProvider API helps and simplifies a lot for us.
In this post, I’m going to cover an approach I implemented to retrieve data from Google Location services and show it to the user through a clean architecture project.

Since we’re following clean architecture, let’s start with our architecture and explain how will it work.

Rudbeckia hirta


This article will cover my experience on migrating one simple project from Groovy Gradle to Kotlin Script.
It will cover the setup and process having it working fine to start doing stuff over Kotlin Script in your project. 🎉

Android Experiment

The project I’m going to use for this post will be a simple Android app that uses the SpaceX API ( I’m going to split this project into modules to make it a little bit more complex.

So for the first part of our experiment, I’m going to give an overview of how I set up Kotlin Script in an Android…

Are you an Android Developer? Do you use Dagger for Dependency Injection? Do you need to implement a Content Provider and don’t want to create a Singleton?
Well, that was my situation a few days ago and I didn’t have any idea on how to do so.

My “How can I do it?” reaction

The project that I worked on consisted on a VoIP mock application, using the phone contacts requested by a CursorLoader and allowing the user to make a “call” to a contact by clicking them. So, I used a ContentProvider and SQLite scripts to store these fake calls on database (Yeah, I know that…

Pedro Okawa

Android Engineer @Triller

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