Antonio Leiva - Android & Kotlin Development

Antonio Leiva - Android & Kotlin Development

¡Tengo canal en español!


Hoy me preguntaban en un vídeo de este canal por qué no hago vídeos en español. Llevo ya como mes y medio haciéndolos, pero en un canal diferente.


Visita devexperto.com/youtube para unirte!


----


I have a channel in Spanish!


Someone asked me in a video why I don't do videos in Spanish. I do them, but I have an alternative channel for them:

devexperto.com/youtube

5 years ago | [YT] | 0

Antonio Leiva - Android & Kotlin Development

The new feature of Android Studio 3.6 that everyone's talking about. I show you how View Binding works and hot it compares to other alternatives

6 years ago | [YT] | 0

Antonio Leiva - Android & Kotlin Development

Let the fight begin! 🥊🥊

What library do you use for image loading?

Please! Explain in the comments why.

6 years ago | [YT] | 1

Antonio Leiva - Android & Kotlin Development

Hi there! While we wait for a new video, just remembered that I didn't share the latest one here.

It's really interesting from a more theoretical point of view.

Please like the video if you want me to talk about Dagger!

6 years ago | [YT] | 0

Antonio Leiva - Android & Kotlin Development

What's the next topic that my videos should cover?

#androiddev #kotlin

6 years ago | [YT] | 1

Antonio Leiva - Android & Kotlin Development

Hey! A new video is out! I had an amazing talk with Enrique. You should know more about him if you don't yet.

And also about his new book, which is gonna be huuuuge. He tells us about some of the best tips from the greatest ones in the industry.

Enjoy it!

6 years ago | [YT] | 0

Antonio Leiva - Android & Kotlin Development

Testing whether you read this or it's a waste of time. Do you pay attention to YouTube communities?

6 years ago | [YT] | 0

Antonio Leiva - Android & Kotlin Development

This video is causing some controversy on Twitter, and a just wanted to clarify some aspects.

My position regarding Dagger is clear (at least to me): I don't think is dead. The thumbnail was what I thought it was a fun and catchy idea that was then explained in the title and content.

Dagger is a pure dependency injector, as opposed to Koin, which follows more the idea of a service locator. The difference is simple: on the first, the library provides the dependencies automatically, while on the second you go get them explicitly.

This has its pros and cons. The main cons I see for Dagger, which prevents lots of not so experienced developers from using it, is that Dagger is quite complex to understand and that the configuration is quite tricky. Also, you can do the same thing in many different ways, so it's hard to know which one is the good one.

On the other hand, Koin is pretty straightforward and easy to understand and start using it. I prefer devs using Koin rather than not using any dependency provider at all.

For big projects, you may reach to a point where the boilerplate that the service locator requires is a bit bigger than the one required by Dagger. But in practice, to me it's difficult to see when that point is reached.

But anyway, as a summary, there are two approaches to attack the same problem. You can choose the one you prefer and, if you manage to understand how they work, you probably won't regret having chosen any of those.

But if you're too lost with dependency provisioning and want to start with something simple, I would go for Koin first, and then you can jump to Dagger.

And that's it! Hope it's now more clear.

6 years ago | [YT] | 0

Antonio Leiva - Android & Kotlin Development

A new premiere is scheduled! Next Wednesday, 4PM CET (you can go inside to check your the exact time on your timezone).


I'll be talking about Koin, it's pros and possible cons when compared to Dagger, and an example of how easy it is to start using it.


Configure the notifications so that you don't miss it!

6 years ago | [YT] | 0

Antonio Leiva - Android & Kotlin Development

We are more than 1000!! 🎉 Thanks so much for following my content here on YouTube. I'm really happy to see that our community here is growing! 🥰


Looks like this milestone also unblocked the channel community , so I'll write about new stuff here from time to time.


So you're the first to know that, to celebrate it, we're going to do a very special live Droidkast episode! 🎁 Instead of being me interviewing another AndroidDev, this time Fernando Cejas will interview me! 😱


He was my guest for the first episode, and there he suggested this possibility. Some of the people who attended live agreed with him, so we thought this was a perfect opportunity to do it.


Next Monday, 4PM CET, I'll be waiting for you to talk and answer all your questions (and the ones that Fernando has prepared for me).


Hope to see you there! 🚀

6 years ago | [YT] | 0