Kotlin

Live Templates Android

Live Templates on Android Studio and IntellliJ to improve your productivity

Live Templates are a way to avoid repetitive code in development environments like Android Studio or IntelliJ. When we are writing code, there are times when certain repetitive code can happen, and there is no way to encapsulate it. For these occasions, Live Templates are an ideal solution that can save you a lot of …

Live Templates on Android Studio and IntellliJ to improve your productivity Read More »

[LIVE] Answering all your questions: MVVM, Work-Life balance, career progression, football..? 😂

I got many questions after an Instagram story, and decided to do a Live session answering them all. This time, we covered many things: MVP vs MVVM Rx vs Coroutines Career progression advice Work-life balance, especially during parenthood … And many more. We were 50 minutes live, so join them, enjoy, and if you have …

[LIVE] Answering all your questions: MVVM, Work-Life balance, career progression, football..? 😂 Read More »

COIL: The Next-Gen IMAGE LOADER for Android [Coroutines Based!] 🚀

Coil is a new image loading library for Android development based on Kotlin and coroutines with the goal of making it simple, fast and lightweight. After trying it, I decided to record this video where I show you how to: Setup the library Use it to load images on ImageView Define custom targets Use transformations …

COIL: The Next-Gen IMAGE LOADER for Android [Coroutines Based!] 🚀 Read More »

Dependency Injection – All the Must-Know Concepts to start using it

To understand dependency injection, you first need to learn a set of concepts that will help you realize why you need it and what’s happening under the hood. In this video, I’ll talk about: ✅ What is a dependency ✅ Dependency Inversion Principle ✅ Inversion of Control ✅ Dependency provisioning ✅ Service Locator ✅ Dependency …

Dependency Injection – All the Must-Know Concepts to start using it Read More »

Koin for dependency injection on Android. Is Dagger dead?

Koin is an alternative to Dagger that takes advantage of Kotlin features to make dependency injection much easier. https://youtu.be/fizzD_vCbIw In the video above, I explain why you need a dependency injector, what’s the difference between Dagger and Koin, and a complete example on how to start using it. The article about clean architecture mentioned in …

Koin for dependency injection on Android. Is Dagger dead? Read More »

Google I/O 2019

Google I/O 2019 – What’s new for Android Developers

In this video, I show you some of the greatest announcements that were done during the first keynotes of Google I/O 2019, and I do an example with some of these. https://www.youtube.com/watch?v=a-AQ5U5smVA Google I/O 2019: Key topics announced during the event Kotlin first: new updates of libraries and features will be first for Kotlin- Android …

Google I/O 2019 – What’s new for Android Developers Read More »

coroutines

Coroutines in Kotlin 1.3 explained: Suspending functions, contexts, builders and scopes

Kotlin coroutines are one of the most exciting features in Kotlin. With them, you can simplify the work of asynchronous tasks in an impressive way, and make the code much more readable and easy to understand. With Kotlin coroutines, you can write asynchronous code, which was traditionally written using the Callback pattern, using synchronous style. …

Coroutines in Kotlin 1.3 explained: Suspending functions, contexts, builders and scopes Read More »

mvvm-with-architecture-components

MVVM with architecture components: a step by step guideline for MVP lovers

Ok, so now that MVVM is the standard to implement Android Apps since Google released their Guide to App architecture, I think it’s time to provide some easy information to understand the MVVM pattern from the eyes of an MVP user. So, if you’ve reached here by chance, but don’t know what MVP is or …

MVVM with architecture components: a step by step guideline for MVP lovers Read More »

clean-architecture-android

Clean architecture for Android with Kotlin: a pragmatic approach for starters

Clean architecture is a topic that never gets old in the Android world, and from the comments and questions I receive, I feel it’s still not very clear. I know there are tens (or probably hundreds) of articles related to clean architecture, but here I wanted to give a more pragmatic/simplistic approach that can help …

Clean architecture for Android with Kotlin: a pragmatic approach for starters Read More »