Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dont ignore getviewmodel key #1644

Merged
merged 2 commits into from
Sep 4, 2023
Merged

Conversation

arnaudgiuliani
Copy link
Member

Follow up on #1592 from @lammertw

Right now, the key is ignored in case a qualifier is used. I don't think that's the correct behavior as it makes it now impossible to force the creation of a new view model in case parameters have changed that require a new view model.

Relates to #1578 and #1477

@arnaudgiuliani arnaudgiuliani added this to the android-3.5.0 milestone Sep 4, 2023
@arnaudgiuliani arnaudgiuliani merged commit 5821c56 into 3.5.0 Sep 4, 2023
@arnaudgiuliani arnaudgiuliani deleted the dont-ignore-getviewmodel-key branch September 4, 2023 12:42
@snaum47
Copy link

snaum47 commented Sep 7, 2023

One thing to note regarding #1578, these merged changes would not the fix the issue we are facing, mainly because using "by viewmodel" in fragment does not have an option to provide the key as a parameter. Can you provide any guidance on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants