diff --git a/ground/src/main/java/com/google/android/ground/ui/datacollection/DataCollectionFragment.kt b/ground/src/main/java/com/google/android/ground/ui/datacollection/DataCollectionFragment.kt index bf3f33838d..fbba8294d3 100644 --- a/ground/src/main/java/com/google/android/ground/ui/datacollection/DataCollectionFragment.kt +++ b/ground/src/main/java/com/google/android/ground/ui/datacollection/DataCollectionFragment.kt @@ -155,7 +155,7 @@ class DataCollectionFragment : AbstractFragment(), BackPressListener { } private fun onTaskChanged(taskPosition: TaskPosition) { - viewPager.currentItem = taskPosition.absoluteIndex + viewPager.setCurrentItem(taskPosition.absoluteIndex, false) updateProgressBar(taskPosition, true) }