all InfoSec news
Code clean up using dependency injection with Hilt in Android
July 27, 2023, 3:02 p.m. | Tristan Elliott
DEV Community dev.to
Table of contents
- What we are doing
- The mental model
- The Application class
- The Hilt components
- Hilt bindings
- Hilt modules
- @Binds
- @Provides
- Scoping
- Resources
The code
Introduction
- I have embarked on my next app, a Twitch client app. This series will be all my notes and problems faced when creating this app.
Getting started
- I wont spend any time on setting up the dependencies for Hilt. You can find that in the documentation, HERE
What we are doing
- Through …
android app application class client code components dependency doing github injection introduction kotlin mental mobile modules problems resources scoping series tristan twitch
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
SOC 2 Manager, Audit and Certification
@ Deloitte | US and CA Multiple Locations
Lead Technical Product Manager - Threat Protection
@ Mastercard | Remote - United Kingdom
Data Privacy Officer
@ Banco Popular | San Juan, PR
GRC Security Program Manager
@ Meta | Bellevue, WA | Menlo Park, CA | Washington, DC | New York City
Cyber Security Engineer
@ ASSYSTEM | Warrington, United Kingdom
Privacy Engineer, Technical Audit
@ Meta | Menlo Park, CA