Full Guide to Dependency Scopes with Dagger-Hilt - Android Studio Tutorial

Philipp Lackner July 31, 2022
Video Thumbnail
Philipp Lackner Logo

Philipp Lackner

@philipplackner

About

Welcome to my YouTube Channel! On the one hand this channel will help beginners to learn the fundamentals of Android Development, but on the other hand I will also upload more advanced stuff. Since the development niche is evolving so fast, I will help you to keep track of it so you don't feel lost in the jungle of coding. You want me to make your app? Just send me an email and maybe we can make a deal :) Imprint: https://pl-coding.com/legal-disclosure/ I don't reply to emails that are random coding questions. Only business inquiries or questions regarding my paid courses.

Video Description

Proper scoping with Hilt can be quite difficult at first. Yet, using the wrong scope in the wrong cases can lead to serious bugs in your app. In this video I'll show you how you can avoid that by properly scoping your dependencies. ⭐ Get certificates for your future job ⭐ Save countless hours of time ⭐ 100% money back guarantee for 30 days ⭐ Become a professional Android developer now: https://pl-coding.com/premium-courses?utm_source=youtube&utm_medium=video&utm_campaign=default 🎓 Become an industry-ready developer in the Mobile Dev Campus: https://pl-coding.com/campus?utm_source=youtube&utm_medium=video&utm_campaign=default 🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture": https://pl-coding.com/best-practice-guide?utm_source=youtube&utm_medium=video&utm_campaign=crypto_tracker Read our weekly Android blog: https://pl-coding.com/blog Join this channel to get access to perks: https://www.youtube.com/channel/UCKNTZMRHPLXfqlbdOI7mCkg/join Get the source code for this video here: https://github.com/philipplackner/DaggerScopes Join my Discord server: https://discord.gg/cwQbmUstEu Regular programming advice on my Instagram page: https://www.instagram.com/_philipplackner_/ Checkout my GitHub: https://github.com/philipplackner You like my free content? Here you can buy me a coffee: https://www.buymeacoffee.com/philipplackner

You May Also Like

Essential Android Dev Tools

AI-recommended products based on this video

Loading...
Air Tracker Tags-4 Pack: Smart Bluetooth Tracker, Item Finder Works with Apple Find My (iOS Only) App, Trakcer Tag Locator for Keys, Luggage, Satchel, Backpack etc. (Not for Android Devices)

Air Tracker Tags-4 Pack: Smart Bluetooth Tracker, Item Finder Works with Apple Find My (iOS Only) App, Trakcer Tag Locator for Keys, Luggage, Satchel, Backpack etc. (Not for Android Devices)

(441)
$49.99
FREE delivery Sat, Sep 13
2K+ bought in past month
Loading...
Wireless Earbuds, 2025 Bluetooth 5.4 Bass Stereo Headphones with 4 ENC Mic, 48H Playback Ear Buds with Charging Case LED Display,Sport Earphones IPX7 Waterproof for Phone, Android, Pad, White

Wireless Earbuds, 2025 Bluetooth 5.4 Bass Stereo Headphones with 4 ENC Mic, 48H Playback Ear Buds with Charging Case LED Display,Sport Earphones IPX7 Waterproof for Phone, Android, Pad, White

(38)
$27.99
Prime
Loading...
Multi Charging Cable, Multi Charger Cable 3 in 1 Charger Fast Charge Multiple Ends 4FT Braided Universal Charging Cord with USB C Micro Lightning Cord for iPhone iPad Samsung Android Phone Tablet Global Recycled Standard

Multi Charging Cable, Multi Charger Cable 3 in 1 Charger Fast Charge Multiple Ends 4FT Braided Universal Charging Cord with USB C Micro Lightning Cord for iPhone iPad Samsung Android Phone Tablet Global Recycled Standard

(41)
$8.99
FREE delivery Sun, Oct 5 on your first order
600+ bought in past month
Loading...
USB C Car Charger, 3-Port 67W Super Fast Charging Dual USB-C & USB-A Car Charger Accessories Cigarette Lighter Adapter for iPhone 17 16e 16 15 14 13 12 11 Pro Max, iPad, Galaxy, Pixel, Android Phone

USB C Car Charger, 3-Port 67W Super Fast Charging Dual USB-C & USB-A Car Charger Accessories Cigarette Lighter Adapter for iPhone 17 16e 16 15 14 13 12 11 Pro Max, iPad, Galaxy, Pixel, Android Phone

(524)
$13.99
FREE delivery Sat, Jan 3 on your first order
2K+ bought in past month
Loading...
Wireless Charger for Samsung Charging Station, 3 in 1 Android Phone Wireless Charger for Samsung Galaxy S25 Ultra/S24 Ultra/S23/Z Flip 6/Fold 6/Buds, Charger for Galaxy Watch Ultra/7/6/5/4/3 (Black)

Wireless Charger for Samsung Charging Station, 3 in 1 Android Phone Wireless Charger for Samsung Galaxy S25 Ultra/S24 Ultra/S23/Z Flip 6/Fold 6/Buds, Charger for Galaxy Watch Ultra/7/6/5/4/3 (Black)

(7,328)
$42.99
PrimeFREE delivery Sat, Jun 14
50+ bought in past month
Loading...
Carplay Cable Car Charger Cord for iPhone 16/15 Pro/Max/Plus/16e, for Apples iPad, Pixel 9/8/7, Galaxy S24/S23/S22, Android Phone, USB A to USB C Cable 3FT Charging & Sync Car Accessories 2Pack

Carplay Cable Car Charger Cord for iPhone 16/15 Pro/Max/Plus/16e, for Apples iPad, Pixel 9/8/7, Galaxy S24/S23/S22, Android Phone, USB A to USB C Cable 3FT Charging & Sync Car Accessories 2Pack

(273)
$13.99
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month
Loading...
USB C Cable 6ft Type C Charger Cable 3.1A Fast Charging Nylon Braided USB A to USB C Charge Cord for Samsung Galaxy S25 S24 S23 S22 S21 S20 A12 A13 A14 A15 A16 A32 A53 5G Android Phone Tablet PS5 LG

USB C Cable 6ft Type C Charger Cable 3.1A Fast Charging Nylon Braided USB A to USB C Charge Cord for Samsung Galaxy S25 S24 S23 S22 S21 S20 A12 A13 A14 A15 A16 A32 A53 5G Android Phone Tablet PS5 LG

(4,378)
$8.41
FREE delivery Sat, Jun 14 on your first order
400+ bought in past month
Loading...
Multi Charging Cable, Multi Charger Cable 3 in 1 Charger Fast Charge Multiple Ends 4FT Braided Universal Charging Cord with USB C Micro Lightning Cord for iPhone iPad Samsung Android Phone Tablet Global Recycled Standard

Multi Charging Cable, Multi Charger Cable 3 in 1 Charger Fast Charge Multiple Ends 4FT Braided Universal Charging Cord with USB C Micro Lightning Cord for iPhone iPad Samsung Android Phone Tablet Global Recycled Standard

(41)
$8.99
FREE delivery Sun, Oct 5 on your first order
600+ bought in past month
Loading...
Wireless Lavailer Microphone for iPhone, Android, Camera, iPad, USB C, 4 in 1 Professional Mini Microphone with Noise Reduction, Wireless Mic for Video Recording, Vlog, YouTube, TikTok

Wireless Lavailer Microphone for iPhone, Android, Camera, iPad, USB C, 4 in 1 Professional Mini Microphone with Noise Reduction, Wireless Mic for Video Recording, Vlog, YouTube, TikTok

(329)
$22.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
Ear Wax Removal, Ear Cleaner with 8 Pcs Ear Set, Ear Wax Removal Kit, 1296P HD Endoscope with 6 LED Lights, Kids Adults Ear Cleaning Gift, Compatible with iPhone & Android Smart Phones

Ear Wax Removal, Ear Cleaner with 8 Pcs Ear Set, Ear Wax Removal Kit, 1296P HD Endoscope with 6 LED Lights, Kids Adults Ear Cleaning Gift, Compatible with iPhone & Android Smart Phones

(56)
$24.99
FREE delivery Tue, Nov 4 on your first order
Loading...
Ear Wax Removal, Ear Cleaner Ear Wax Removal Kit, 1296P HD Endoscope with 6 LED Lights, Kids Adults Ear Cleaning Gift, Compatible with iPhone & Android Smart Phones

Ear Wax Removal, Ear Cleaner Ear Wax Removal Kit, 1296P HD Endoscope with 6 LED Lights, Kids Adults Ear Cleaning Gift, Compatible with iPhone & Android Smart Phones

(124)
$29.99
FREE delivery Wed, Sep 3 on your first order
1K+ bought in past month