-
- All Implemented Interfaces:
-
com.ramcosta.composedestinations.navargs.DestinationsNavTypeSerializer
public final class DefaultSerializableNavTypeSerializer implements DestinationsNavTypeSerializer<Serializable>
Default DestinationsNavTypeSerializer for Serializables which converts them to Base64 strings and then parses them back.
This gets used by the generated code if you don't provide an explicit DestinationsNavTypeSerializer annotated with
@NavTypeSerializerfor the type being passed as navigation argument.
-
-
Constructor Summary
Constructors Constructor Description DefaultSerializableNavTypeSerializer()
-
Method Summary
Modifier and Type Method Description StringtoRouteString(Serializable value)SerializablefromRouteString(String routeStr)-
-
Method Detail
-
toRouteString
String toRouteString(Serializable value)
-
fromRouteString
Serializable fromRouteString(String routeStr)
-
-
-
-