---
title: "Richard Hernández (@richardhf) | Hashnode"
description: "Richard Hernández (@richardhf) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@richardhf"
---

@richardhf

# Richard Hernández

@richardhf · Joined December 2022

### [Práctica de dagger - parte II](https://richardhf.hashnode.dev/practica-de-dagger-parte-ii?utm_source=hashnode&utm_medium=feed)

Inicialización de componente dagger private val mainComponent: MainComponent by lazy { initializeMainComponent() } private fun initializeMainComponent(): MainComponent { val component = (applicationContext as MainApp).app...

2 min read · [richardhf.hashnode.dev](https://richardhf.hashnode.dev/practica-de-dagger-parte-ii?utm_source=hashnode&utm_medium=feed)

[Dec 29, 2022](https://hashnode.com/posts/practica-de-dagger-parte-ii/63ad6f6f811db151052bbe32)

### [Práctica de dagger - parte I](https://richardhf.hashnode.dev/practica-de-dagger-parte-i?utm_source=hashnode&utm_medium=feed)

Dependencias En archivo build.gradle plugins { ... id 'org.jetbrains.kotlin.kapt' } implementation "com.google.dagger:dagger:$dagger\_version" kapt "com.google.dagger:dagger-compiler:$dagger\_version" Actualización de subclase Application.kt ...

1 min read · [richardhf.hashnode.dev](https://richardhf.hashnode.dev/practica-de-dagger-parte-i?utm_source=hashnode&utm_medium=feed)

[Dec 28, 2022](https://hashnode.com/posts/practica-de-dagger-parte-i/63ac973934d6a6b14ff435a8)

### [Notas sobre inyección de dependencias](https://richardhf.hashnode.dev/notas-sobre-inyeccion-de-dependencias?utm_source=hashnode&utm_medium=feed)

Inyección de dependencias Con este enfoque, se toman las dependencias de una clase y se proporcionan en lugar de que la instancia de la clase las obtenga por sí misma. La implementación de la inyección de dependencia proporciona las siguientes ventaj...

2 min read · [richardhf.hashnode.dev](https://richardhf.hashnode.dev/notas-sobre-inyeccion-de-dependencias?utm_source=hashnode&utm_medium=feed)

[Dec 27, 2022](https://hashnode.com/posts/notas-sobre-inyeccion-de-dependencias/63aac3d00a14390df6c003df)

### [Notes about hilt](https://richardhf.hashnode.dev/notes-about-hilt?utm_source=hashnode&utm_medium=feed)

Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project. Hilt provides containers for every Android class in your project and managing their lifecycles automatically. Hilt i...

2 min read · [richardhf.hashnode.dev](https://richardhf.hashnode.dev/notes-about-hilt?utm_source=hashnode&utm_medium=feed)

[Dec 26, 2022](https://hashnode.com/posts/notes-about-hilt/63aa26d7e134aab997544eb2)

### [Notas sobre dagger](https://richardhf.hashnode.dev/notas-sobre-dagger?utm_source=hashnode&utm_medium=feed)

Inyección de dependencias automatizada Metaprogramación La metaprogramación es un programa que trata a otros programas como sus datos, para agregar o cambiar el comportamiento y las funcionalidades. La metaprogramación puede ocurrir en: Tiempo de ej...

3 min read · [richardhf.hashnode.dev](https://richardhf.hashnode.dev/notas-sobre-dagger?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/notas-sobre-dagger/63a5a95ac67ca111f93b47cc) [Dec 23, 2022](https://hashnode.com/posts/notas-sobre-dagger/63a5a95ac67ca111f93b47cc)
