<how to fetch marker from room database based on v...
# stackoverflow
r
how to fetch marker from room database based on visible region in Google Maps I am using Google Maps in my Android app, I am displaying markers that are in visible regions on maps. Is this the correct approach to fetch markers from the room database? I could use paging to get data faster. When the user navigates to MapScreen, the UI kind of lags. It takes a while to display all markers and load the map @Composable fun MapScreen(viewModel: MapViewModel = viewModel()) { val scope = rememberCoroutineScope() val context = LocalContext.current var...