-
public abstract class DestinationsNavType<T extends Object> extends NavType<T>
NavType version for Compose Destinations library. It gets used by the generated code.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisNullableAllowedprivate final Stringname
-
Constructor Summary
Constructors Constructor Description DestinationsNavType()
-
Method Summary
Modifier and Type Method Description BooleangetIsNullableAllowed()StringgetName()abstract StringserializeValue(T value)abstract Tget(SavedStateHandle savedStateHandle, String key)abstract Unitput(SavedStateHandle savedStateHandle, String key, T value)final TsafeGet(Bundle bundle, String key)-
Methods inherited from class com.ramcosta.composedestinations.navargs.DestinationsNavType
get, parseAndPut, parseAndPut, parseValue, parseValue, put, serializeAsValue, toString, valueEquals -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIsNullableAllowed
Boolean getIsNullableAllowed()
-
serializeValue
abstract String serializeValue(T value)
-
get
abstract T get(SavedStateHandle savedStateHandle, String key)
-
put
abstract Unit put(SavedStateHandle savedStateHandle, String key, T value)
-
-
-
-