Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
anandwana001 committed Dec 19, 2024
1 parent e7117c4 commit 6cfd49b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ class DataCollectionFragment : AbstractFragment(), BackPressListener {
}

private fun onTaskChanged(taskPosition: TaskPosition) {
// Pass false to parameter smoothScroll to avoid smooth scrolling animation.
viewPager.setCurrentItem(taskPosition.absoluteIndex, false)
updateProgressBar(taskPosition, true)
}
Expand Down

0 comments on commit 6cfd49b

Please sign in to comment.