Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Jun 6, 2025

Why is this the best possible solution? Were any other approaches considered?

As usual, I've updated the dependencies for the next release. Nothing special to discuss here.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

It doesn't require testing.

Do we need any specific form for testing your changes? If so, please attach one.

No.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@grzesiek2010 grzesiek2010 force-pushed the dependency_updates_for_2025.3 branch from 391b9b6 to def8404 Compare July 1, 2025 22:07
@grzesiek2010 grzesiek2010 force-pushed the dependency_updates_for_2025.3 branch 4 times, most recently from 1902007 to 100e919 Compare July 2, 2025 09:06
@grzesiek2010 grzesiek2010 force-pushed the dependency_updates_for_2025.3 branch from 100e919 to 1666812 Compare July 2, 2025 09:46
@grzesiek2010 grzesiek2010 marked this pull request as ready for review July 2, 2025 10:56
@grzesiek2010 grzesiek2010 requested a review from seadowg July 2, 2025 10:57

@NotNull
private ODKView createODKView(boolean advancingPage, FormEntryPrompt[] prompts, FormEntryCaption[] groups) {
odkViewLifecycle = new ControllableLifecyleOwner();
Copy link
Member

Choose a reason for hiding this comment

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

What was the problem here?

Copy link
Member Author

@grzesiek2010 grzesiek2010 Jul 10, 2025

Choose a reason for hiding this comment

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

There was a crash saying State is DESTROYED and cannot be moved to RESUMED. In the past (with some older dependencies) it was just a warning, I guess.
The problem was that we created ControllableLifecyleOwner once and then changed its state between DESTROYED and RESUMED which is not allowed.

@seadowg seadowg merged commit e1dafe0 into getodk:master Jul 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants