Aman Kumar
Mar 30, 2021

Great article! Wanted to know how would we handle the same getEventsDB using addSnapshotListener ( for real time updates) instead of get() method using a coroutine. I have a very similar code, but await() doesn't work with addSnapshotListener. If you want, you can look at my code here https://stackoverflow.com/q/66875595/12270082. Please do answer if you know it, be it here in the comment section itself or on stackoverflow! Thanks in advance!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Aman Kumar
Aman Kumar

Written by Aman Kumar

Life enthusiast, poet, and author.

No responses yet

Write a response