-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
type: bugSomething isn't workingSomething isn't workingtype: code healthImprovements to readability or robustness of codebaseImprovements to readability or robustness of codebase
Description
Also:
Initial debugging reveals that
GoogleMapsFragment.setFeatures()is called 5 times when an LOI is modified in the remote datastore:2024-11-11 16:17:54.337 3951-3951 GoogleMapsFragment com.google.android.ground V setFeatures() called with 5 features 2024-11-11 16:17:54.712 3951-3951 GoogleMapsFragment com.google.android.ground V setFeatures() called with 5 features 2024-11-11 16:17:54.720 3951-3951 GoogleMapsFragment com.google.android.ground V setFeatures() called with 5 features 2024-11-11 16:17:54.726 3951-3951 GoogleMapsFragment com.google.android.ground V setFeatures() called with 6 features 2024-11-11 16:17:54.732 3951-3951 GoogleMapsFragment com.google.android.ground V setFeatures() called with 6 featuresWhile
SurveyRepository.loadAndSyncSurveyWithRemoteis called only once as expected. We may need to debounce or otherwise isolate changes to the local db to prevent the UI from getting thrashed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't workingtype: code healthImprovements to readability or robustness of codebaseImprovements to readability or robustness of codebase
Type
Projects
Status
No status