Getting Started with HILT (Dagger2)

  Рет қаралды 44,854

CodingWithMitch

CodingWithMitch

Күн бұрын

The best android courses in the world: codingwithmitc...
Watch the HILT course here (FREE): codingwithmitc...
How to get started using Hilt. Hilt is a new dependency injection tool built on top of dagger2 for android.
Instagram: / codingwithmitch
Twitter: / mitch_tabian
.
.
#AndroidDev

Пікірлер: 62
@faizandarwesh7867
@faizandarwesh7867 4 жыл бұрын
Thanks alot @Mitch . Hope this dagger(Hilt) series led you to 100k subscribers soon. 😎
@Ericblessedchild
@Ericblessedchild 4 жыл бұрын
Melting Brain-freeze technique 1.Recreate the testing scene. Get practice tests from your professor, or create your own, and take the test in the same time frame you are given in classwith the same kind of distractions 2.Focus your attention on breathing. Concentrate on the air going in and out of your lungs -long, deep breaths will calm you and send oxygen to your brain. Do this for two minutes. 3.Hear your negative thoughts and mentally yell: “Stop!” Then, mentally repeat an affirmation such as, “The answers will come” or “I am smart -I can do this”, several times. 4.Discover where the tension is in your body. Tense and release the muscles in this area and become aware when relaxation occurs during the release. Focus on the relaxation and recreate the sensation whenever you choose during the exam. 5.Use guided imagery. This works best if you practice before the test. Close your eyes and see yourself in your favorite, most relaxing place -a beach or forest are good examples. Feel everything about this place, including sights, sounds, and smells. Once you are proficient, you can take this quick fantasy trip right during the test. When you are there, mentally tell yourself “Go to the place where the answers are.” Take a deep breath, open your eyes and begin writing Shared from Study tips app play.google.com/store/apps/details?id=com.pynpop.study
@Klingard
@Klingard 4 жыл бұрын
I am blinded by the light theme. JK Thank you so much for the video!!
@syedumair3172
@syedumair3172 4 жыл бұрын
The best video series on Dependency Injection. I've watched the whole playlist twice. Thanks Mitch.
@amdv104
@amdv104 4 жыл бұрын
Hilt is great. Especially I like the @ViewModelInject("hilt-lifecycle-viewmodel" dependency, Hilt creates Assisted Factory under the hood) in constructor which allows to create ViewModel "by viewModels" in any @AndroidEntryPoint class, which is very useful if you need to reuse ViewModel. And yes, Hilt is generally very convenient to use. (Dagger Android was terrible)
@prakharpandey4664
@prakharpandey4664 4 жыл бұрын
Thanks lot Mitch please do upload video session on fast. I want to use hilt in my upcoming projects.
@minaisaac4529
@minaisaac4529 4 жыл бұрын
Do i have to be experienced with dagger to begin with this series?
@codingwithmitch
@codingwithmitch 4 жыл бұрын
no
@prudhvir3ddy
@prudhvir3ddy 4 жыл бұрын
awesome mitch but please do go into the detail like don't throw away abstractions. little details will help like correctionErrorTypes and why we had to use kapt what plugin will contribute to and all those things
@simplet3306
@simplet3306 3 жыл бұрын
congrates 100k subscribers
@codingwithmitch
@codingwithmitch 3 жыл бұрын
Thank you
@kushinbunte
@kushinbunte 4 жыл бұрын
Appreciate your work Mitch, probably you will get 100k soon. Wish you all the best.
@nicoqueijo
@nicoqueijo 4 жыл бұрын
This channel deserves 3M subscribers
@codingwithmitch
@codingwithmitch 4 жыл бұрын
LEAVE A TESTIMONIAL PLS codingwithmitch.com/testimonials/
@nicoqueijo
@nicoqueijo 4 жыл бұрын
@@codingwithmitch Ok
@fatihmert3189
@fatihmert3189 4 жыл бұрын
in this day, i am going to like this video :D :D
@nadersada8453
@nadersada8453 Жыл бұрын
🎯 Key Takeaways for quick navigation: 00:00 📚 Introduction to HILT as a dependency injection tool built on top of Dagger for Android. 01:12 🎯 HILT aims to simplify Dagger-related infrastructure for Android, create standard components and scopes, and facilitate code sharing. 02:21 🛠️ Adding HILT dependencies in the project's build.gradle file. 03:43 🚀 Enabling Java 8 support and Kotlin annotation processing for HILT. 05:10 🔧 Adding dependencies and configuring for Retrofit usage (an HTTP library). 06:04 🤖 HILT simplifies dependency injection by automatically generating components and installing dependencies. 07:14 🏭 Using `@HiltAndroidApp` annotation in the application class to simplify app component setup. 08:23 💡 Comparison between HILT and previous Dagger setups, highlighting the simplicity ofHILT's approach. Made with HARPA AI
@kuriyer_tashkent
@kuriyer_tashkent 3 жыл бұрын
Its useful for me. Thank you @Mitch
@aliciabeltran
@aliciabeltran 4 жыл бұрын
I really love. your videos ... Hugs from Colombia
@DartLuke
@DartLuke 3 жыл бұрын
Nice videos. Unfortunately developers of hilt changed names of some annotations.
@alielahi1818
@alielahi1818 3 жыл бұрын
Thanks could you please create video for multi module android app with hilt ?
@soma7891
@soma7891 4 жыл бұрын
Fuck this shit, I just started to learn Dagger2 and and now I need to learn this.
@grooss4002
@grooss4002 4 жыл бұрын
Will you cover UI tests? or Do you know how or if i can mock an injected viewModel in a frament?
@dkdk-vm4ej
@dkdk-vm4ej 3 жыл бұрын
should i learn dagger 2 first or i can learn hilt dagger directly plzz help me out
@namluongxuan2940
@namluongxuan2940 4 жыл бұрын
Thank bro < 3. That`s Great From Vietnam
@DerCheckerzeigts
@DerCheckerzeigts 4 жыл бұрын
Do we also need to import the "Dagger Core Components" in a later state of our dagger project?
@jimmyryan5880
@jimmyryan5880 3 жыл бұрын
Not putting part 1 in the title so it looks shorter. Sneeky
@NMNaufaldo
@NMNaufaldo 4 жыл бұрын
Thanks :)
@buzzbummer2111
@buzzbummer2111 3 жыл бұрын
Thanks @Mitch for making such a awesome video tutorial. I am facing one problem with with import @InstallIn(ApplicationComponent::class). Its giving me @InstallIn(ApplicationComponentManager::class) can you please help me.
@whatsaappstatus6452
@whatsaappstatus6452 4 жыл бұрын
Can you please make tutorial on Android studio app with complex UI (xml) which supports every screen size. I gone through many documentations but you're soo good in native Android development ❣️ , please help students like me. Please solve this problem 🙏🙏 please
@antoniokomangyudistira4150
@antoniokomangyudistira4150 4 жыл бұрын
THANK YOU
@bryanneuberger5886
@bryanneuberger5886 3 жыл бұрын
Super odd question, I’ve inherited a project and it is very large. I want to start refactoring parts without a complete overhaul. Can I use hilt/dagger2 (DI) in part of the project and build on that while keeping the “legacy” code intact, working and not part of the DI structure?
@sukhwantsingh501
@sukhwantsingh501 4 жыл бұрын
Helo sir. I had done the same way you said. But i also implemented the lifecycleObserver in application class then @HiltAndroidApp giving me error.
@PeteStMartin
@PeteStMartin 2 жыл бұрын
Thanks Mitch! If you need ideas for more tutorials, an in-depth guide to migrating from Dagger 2 to Hilt would be awesome! You rule, sir!
@loklok2003
@loklok2003 4 жыл бұрын
Will you consider to make a video about using HILT with multiple app module?
@Joe-yu9wc
@Joe-yu9wc 4 жыл бұрын
why do you call dagger android failure,can you tell me more the reasons thanks
@jersn5560
@jersn5560 4 жыл бұрын
Hi Mitch, can you add in your discussion using Hilt for multi-module projects
@ChrisAthanas
@ChrisAthanas 3 жыл бұрын
Engagement
@rolinejohnaguilar7819
@rolinejohnaguilar7819 4 жыл бұрын
cool this clears up my blurry understanding of dagger-hilt
@syedasimzubair4462
@syedasimzubair4462 4 жыл бұрын
Should I know dagger first ? or can I directly goto hilt ?
@eluroalex5920
@eluroalex5920 4 жыл бұрын
Thanks a lot bro
@barcaOmessi
@barcaOmessi 3 жыл бұрын
Thanks for this series. I haven't used dependency Injection yet. I hope I can apply it step by step with your videos. I appreciate your work!
@soja0524
@soja0524 4 жыл бұрын
Wooooooowwwww yayyy
@bboydarknesz
@bboydarknesz 4 жыл бұрын
hey, i found you. still waiting for your english translation in your videos :D
@unfoldingcode
@unfoldingcode 4 жыл бұрын
Why don't you make a video series on reactJs ?
@matt-g-recovers
@matt-g-recovers 3 жыл бұрын
You make very clean and easy to follow videos.
@KIRILLINGUSS21
@KIRILLINGUSS21 4 жыл бұрын
Ты лучший андроид блогер. Спасибо
@alishechka29
@alishechka29 4 жыл бұрын
...2 dislikes, from Koin users?
@sukhwantsingh501
@sukhwantsingh501 4 жыл бұрын
Saying multiple roots etc
@smilehari
@smilehari 4 жыл бұрын
Amazing tutorial Mitch
@datanautastv3188
@datanautastv3188 4 жыл бұрын
man Im loving this channel. Including the parts when he says he's gonna do something and 2 seconds later next scene is like "Ok, I know we said we were gonna do X but lets actually do Y.."
@codingwithmitch
@codingwithmitch 4 жыл бұрын
Don't be a baby
@datanautastv3188
@datanautastv3188 4 жыл бұрын
@@codingwithmitch I actually mean it. Thanks btw, Im learning SO much.
@codingwithmitch
@codingwithmitch 4 жыл бұрын
@@datanautastv3188 wait, you are not being sarcastic?
@datanautastv3188
@datanautastv3188 4 жыл бұрын
@@codingwithmitch Not at all haha. I meant no disrespect. I've been learning a lot from your channel, it's great.
@codingwithmitch
@codingwithmitch 4 жыл бұрын
@@datanautastv3188
@aliciabeltran
@aliciabeltran 4 жыл бұрын
Greate video quiality 4k ?? Congrats
@codingwithmitch
@codingwithmitch 4 жыл бұрын
Just 1080
@oscarperry641
@oscarperry641 4 жыл бұрын
LIKE!
@codingwithmitch
@codingwithmitch 4 жыл бұрын
love
@shafaquesattar
@shafaquesattar 4 жыл бұрын
Cool 💯
@astrologykhan8125
@astrologykhan8125 4 жыл бұрын
How???
HILT Field Injection and Constructor Injection
9:44
CodingWithMitch
Рет қаралды 25 М.
Hilt Modules, Binds and Provides (Dagger2)
18:02
CodingWithMitch
Рет қаралды 22 М.
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 17 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 78 МЛН
Все про Dagger Hilt в Android Studio + Kotlin
52:11
Neco Ru
Рет қаралды 12 М.
Scoping with HILT (Dagger2)
9:39
CodingWithMitch
Рет қаралды 17 М.
6 Design Patterns Every Android Developer Must Know
14:16
Philipp Lackner
Рет қаралды 81 М.
Hilt makes testing easier on Android
32:38
CodingWithMitch
Рет қаралды 16 М.
Providing Instances of the Same Type with HILT (Dagger2)
7:02
CodingWithMitch
Рет қаралды 11 М.
Hilt Dependency Injection (Kotlin Beginner Example)
21:20
CodingWithMitch
Рет қаралды 42 М.
Kotlin Coroutines 101 - Android Conference Talks
24:49
Android Developers
Рет қаралды 135 М.
iOS Development is Easier than Android Development (VLOG)
20:41
CodingWithMitch
Рет қаралды 52 М.
The Value of Source Code
17:46
Philomatics
Рет қаралды 41 М.
Dagger-Hilt in Detail - Full Course
25:42
Philipp Lackner
Рет қаралды 82 М.