Coroutines with Firebase Firestore - Kotlin Coroutines

preview_player
Показать описание
In this video you will learn how you can use Firebase in combination with coroutines to avoid callback hell.

⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

🎓 Become an industry-ready developer in the Mobile Dev Campus:

🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture":

Read our weekly Android blog:

💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:

Firebase Coroutine dependency:

Рекомендации по теме
Комментарии
Автор

I've been smashing my head around this issue for two days, and you just explained how to fix it in 9 minutes. Thank you so much !

hidaro
Автор

This is the one and only bookmarked Youtube Channel as i visit it everyday to see your new Content, You taught me what my University didn't, Thanks a lot for instructing me from Scratch in a very interesting way ❤️

ziyadmansy
Автор

Das macht Spaß, danke für diese großartige Arbeit

mohameddarwish
Автор

That was very helpful, the whole series actually. Thank you so much.

youssef-attai
Автор

Thanks, Philipp. I was trying it for a couple of days and now I got a proper solution to fit this into MVVM

parthpatel
Автор

I was waiting for this video!!! thank you

jjhoninatansabadi
Автор

Excellent video Phillip. Working with firebase functions was always painful. That is way better. Thanks!

ahmedabdeen
Автор

you are doing amazing work, please keep it up

mahmoudramadan
Автор

Thanks I have really learnt a lot in a short time

salihuumar
Автор

Great vid ! Waiting for App News's Tutorials !

sheffomp
Автор

very nice tutorial thank you, there is little question about this tutorial, now we use coroutines to get rid of callbacks, but how about getting the result of input, we usally have a task and we check if it was sucessful or not, how is it possible to do that with coroutine thank you .

AlgeriaHere
Автор

This is a great tutorial. I learn so much watching your videos! hank you Phillip! One question, will this approach also work with Firebase real time database?

chuka_obi
Автор

Hello Philipp an Everyone!!!
Should we use coroutineScope instead of globalScope, what do you think?

redfox
Автор

The tutorialDocument object works asynchronously? Does that mean the .get() can finish before the .set() ?

brianquigley
Автор

Btw, You didn't need to use the `Dispatchers.IO` here. The (IO) operation being performed here is already being done asynchronously, coroutines just makes it easier to chain. Cheers

dominicfischer
Автор

hi, i dide't have the firestore to try this example, my question: how to make a firestore to make this example like you?

gigimushi
Автор

hey @Philipp Lackner ....i have a problem here i am getting error of "Unresolved reference of await" ....can you tell me why i can not call await ...

deepsheth
Автор

Hi bro how do you get the document reference using the await method?

mataal
Автор

Can you do a video like this for Firebase/Firestore, but for Jetpack Compose instead of xml? Struggling to figure out how to get the Firestore data back into the app.

goamora
Автор

Great, except that I have to use runBlocking{} to select the image from the db and store it in a variable, because for me all the code is passed in and then the database code is executed at the end.

jayui