Тёмный
No video :(

Assisted Injection in ViewModel using Hilt 

Simplified Coding
Подписаться 118 тыс.
Просмотров 5 тыс.
50% 1

Tired using Retrofit? Let's try kTor Android Client. In this kTor Android Client Tutorial we will learn performing a simple HTTP GET request to fetch list of popular movies from TMDB API.
Get the source code of the last project that is used in this video
👉 www.simplified...
If you don't know about dependency injection you can watch this playlist
👉 • Android Dependency Inj...
To learn more about Assisted Injection, check this blog post
👉 www.simplified...
Please SHARE this video with your friends ❤️❤️
In this course I've used the following things
👉 Jetpack Compose. • Jetpack Compose Crash ...
👉 Dependency Injection. • Android Dependency Inj...
👉 Kotlin Coroutines • #1 Kotlin Coroutines T...
Finally, If you love my content please SHARE my courses with your friends. You can share this course on your Facebook, WhatsApp, etc.
For more content related to Software Development visit my website.
👉 www.simplified...
You can SUPPORT me if you want
👉 Patreon: / belalkhan
👉 UPI (India Only): probelalkhan@okaxis
👉 PayTM (India Only): +917549161079
👉 PayPal: www.paypal.me/...
You can also check some of my other courses from these links
👉 Dart Programming Tutorial: bit.ly/2S8y0Pu
👉 Kotlin Programming Tutorial: bit.ly/2Q2puRm
👉 Android MVVM Tutorial: bit.ly/3iLfVzu
👉 Android Game Development Tutorial: bit.ly/38JmltC
👉 Retrofit Android Tutorial: bit.ly/2DEwAl1
👉 Android RecyclerView Tutorial: bit.ly/2TqVjPz
👉 Android Room Tutorial: bit.ly/2PfQHeN
👉 Firebase Auth Tutorial: bit.ly/2WUGhEo
👉 Android Notification Tutorial: bit.ly/2Sc6jQl
👉 Building a Complete Wallpaper App: bit.ly/30UN8zV
👉 Build Tic Tac Toe in Android: bit.ly/30goxW0
❤️❤️ Thank You All for the Love and Support ❤️❤️
#ktorandroidclient
#ktor
#androiddevelopment

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@hamedhardani8302
@hamedhardani8302 Год назад
Thanks man. This is exactly what I was looking for
@haryakumuda6798
@haryakumuda6798 4 месяца назад
THANK YOU SO MUCH ! ! !
@md.rezaulislam1844
@md.rezaulislam1844 Год назад
Waiting for Assisted Injection tutorial
@SimplifiedCoding
@SimplifiedCoding Год назад
Thanks friend :)
@vengateshm2122
@vengateshm2122 Год назад
Will the factory and viewmodel returns same instance during recomposition also?
@yasserakbbach7342
@yasserakbbach7342 Год назад
I'm assuming as long as they're not in remember() it's always new instances!
@SimplifiedCoding
@SimplifiedCoding Год назад
There is a parameter viewModelStore owner in the viewModel() function, that you can use to scope your ViewModel. By default it takes the current scope. So you will not get the new instance of viewmodel in recomposition. But if you want to share the same viewmodel instance between two composables, then you need to scope it with navigation. I have covered this in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dtNnr_s8nug.html You can check it. Thanks
@fauzytech
@fauzytech 8 месяцев назад
Thank you for the tutorial!
@danielmigwi1999
@danielmigwi1999 Год назад
This is amazing and helpful,could you do the Android MVVM Architecture Tutorial - User Login using Retrofit with Jetpack compose
@SimplifiedCoding
@SimplifiedCoding Год назад
Check this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dtNnr_s8nug.html
@ghalibngrho
@ghalibngrho Год назад
Thankyou, your video helped me :)
@SimplifiedCoding
@SimplifiedCoding Год назад
:)
@user-lm6zz3xj3e
@user-lm6zz3xj3e 3 месяца назад
Can you show how can i initialize this viewModel in Jetpack Compose navigrationGraph?
@SimplifiedCoding
@SimplifiedCoding 3 месяца назад
Architecting Excellence: A Deep Dive into Multi-Module Android Apps ru-vid.com/group/PLk7v1Z2rk4hiCeUglEmnzkyiryl5YHG76 check here
@batya-im1sc
@batya-im1sc 8 месяцев назад
thanks!)
@arunvashisth290
@arunvashisth290 Год назад
Sir, please make a video on general adaptor for recycler view
@yasserakbbach7342
@yasserakbbach7342 Год назад
is such injection considered bad practice?
@SimplifiedCoding
@SimplifiedCoding Год назад
No, it is not a bad practice.
@marlonlom
@marlonlom 11 месяцев назад
How to change the movie id parameter after the vm is instantianted in that way?
@user-yc5fr3kd2t
@user-yc5fr3kd2t Год назад
Super helpful but it's crazy that we have to add all that code to pass a simple int param
@fauzytech
@fauzytech 8 месяцев назад
i think this is expected. It become a consequence since everything is handled by hilt by default. But, since you want to add additional parameter, you have to do all of the task manually from scratch.
@SimplifiedCoding
@SimplifiedCoding 8 месяцев назад
Yeah, may be in coming versions they will add an easier way to achieve this.
Далее
IT'S MY LIFE + WATER  #drumcover
00:14
Просмотров 9 млн
Fixing Plastic with Staples
00:18
Просмотров 814 тыс.
Hilt ViewModels and Dependency Injection
16:35
Просмотров 30 тыс.
Android Testing ViewModel - Common problems
11:30
Просмотров 8 тыс.
Dagger Hilt - Assisted Inject Hilt in Android!
9:31
Просмотров 1,3 тыс.
Hilt Modules, Binds and Provides (Dagger2)
18:02
Просмотров 22 тыс.
IT'S MY LIFE + WATER  #drumcover
00:14
Просмотров 9 млн