Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Seems to be a DNS problem with systems that have 'obtain DNS server address automatically'. Changed my system to a manual setting and the browser etc now work. SDK 2.2 didn't seem to mind the auto setting though.
jb...@google.com <jb...@google.com> #3
Could you please describe how/where you changed your system to a manual setting?
Description
When calling the
by viewModels
lazy function from a fragment, if you passed in the owner and did not specify the factory i.e:the resulting viewModel would be created using the fragment's ViewModel factory instead of the owner's, which in this case is the activity's factory.
We should make sure that the
viewModels
function first uses the factory passed in, followed by the owner's, and if those are both null, only then does it fall back to the fragment's.