<Activity takes a decade to open because I get Fir...
# stackoverflow
u
Activity takes a decade to open because I get Firebase queries at on Create private fun getAngryMovies() = CoroutineScope(Dispatchers.IO).launch { try { val querySnapshot = allMoviesCollectionReference .whereEqualTo("type", "Angry") .get().await() for (document in querySnapshot.documents) { val movieObj = document.toObject() if (!innerAngryMovieList.contains(movieObj)) { innerAngryMovieList.add(movieObj!!) } } showContent = true...