Fixed
Status Update
Comments
mg...@google.com <mg...@google.com> #2
Thanks for your suggestion!
We have passed the suggestion on to the product team for further consideration.
Please star to add your vote and receive further updates, and feel free to add any comments to discuss your use case.
We have passed the suggestion on to the product team for further consideration.
Please star to add your vote and receive further updates, and feel free to add any comments to discuss your use case.
ap...@google.com <ap...@google.com> #3
The following feature request has been implemented in v2.6 by adding a Source attribute to Panorama searches allowing them to be restricted to outdoor-only results.
Note that this feature is experimental and some searches may still include indoor panoramas.
For more information please check the documentation:
https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_panorama_service.html#af5251a07c154f056f6b4a7f311bec3da
Note that this feature is experimental and some searches may still include indoor panoramas.
For more information please check the documentation:
na...@google.com <na...@google.com> #4
Guys, thank you so much for your help!
Description
saveable
has built-in support for Coroutines'MutableStateFlow
, supporting the following use case:It does this by providing an overloaded function that handles
MutableStateFlow.value
and serializes it when needed.To help people migrate from
saveable
tosaved
, we want to supportMutableStateFlow
in our KotlinX serialization support.While working on getMutableStateFlow CL, I experimented with this idea and created a naive
KSerializer
implementation to handleMutableStateFlow
.Here’s what it could look like:
For serialization, we would use
(value as MutableStateFlow<T>).value
+valueSerializer
to serialize the content. Deserialization works in the opposite direction.Here’s a usage example:
However, calling this without the serializer would cause an exception.
Our variant should work like
saveable
: ifT
(the generic type insaved
) is serializable, it should work without needing the serializer.The goal is to find the best way to support
MutableStateFlow
insaved
.Related to b/378895074 .