Skip to content

Conversation

@Jignesh-dimagi
Copy link
Contributor

Technical Summary

https://dimagi.atlassian.net/browse/QA-7923

Labels and Review

  • Do we need to enhance the manual QA test coverage ? If yes, the "QA Note" label is set correctly
  • Does the PR introduce any major changes worth communicating ? If yes, the "Release Note" label is set and a "Release Note" is specified in PR description.
  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@Override
public void onResume() {
super.onResume();
binding.getRoot().requestLayout();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jignesh-dimagi can you proide a technical description of the root cause in the PR description along with how this fixes this issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shubham1g5 There seems some issue with ViewPager2 in calculating the dynamic height after the data are reloaded, it requires some kind of recalculation, may be this is the one way to do that. This works here but not sure if this is the best way.

Copy link
Contributor

@shubham1g5 shubham1g5 Jul 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, can we add a code comment here for this, for someone looking at this code to know this is due to a viewpager 2 bug and if we remove it what exactly should we be testing to make sure the removal is safe.

@pm-dimagi pm-dimagi merged commit f6d8a49 into Beta_2.58_474459 Jul 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-integration-tests Skip android tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants