<This suspend function is taking very long time to...
# stackoverflow
u
This suspend function is taking very long time to execute ,How can I optimize this? I am writing code to get newsfeed from database and to show this feed in UI . This is my Firestore database structure users->uniqueUserId |-->UsersProfileInfo--->Profile(document) |-->FeedNewsFeed |--->unique documents for each newsfeed |--->unique documents for each newsfeed |--->unique documents for each newsfeed to get each news feed from every users in my user collection I have to write nested...