SerializableArrayType
class SerializableArrayType<D : Serializable!> : NavType<Array<D>!>
SerializableArrayType is used for NavArgument
s that hold arrays of Serializables. This type also supports arrays of Enums.
Null values are supported. Default values in Navigation XML files are not supported.
Summary
Public constructors |
Constructs a NavType that supports arrays of a given Serializable type.
|
Inherited properties |
From class NavType
NavType<BooleanArray!> |
BoolArrayType
NavType for storing boolean arrays, corresponding with the "boolean[]" type in a Navigation XML file.
Null values are supported. Default values in Navigation XML files are not supported.
|
NavType<Boolean!> |
BoolType
NavType for storing boolean values, corresponding with the "boolean" type in a Navigation XML file.
Null values are not supported.
|
NavType<FloatArray!> |
FloatArrayType
NavType for storing float arrays, corresponding with the "float[]" type in a Navigation XML file.
Null values are supported. Default values in Navigation XML files are not supported.
|
NavType<Float!> |
FloatType
NavType for storing float values, corresponding with the "float" type in a Navigation XML file.
Null values are not supported.
|
NavType<IntArray!> |
IntArrayType
NavType for storing integer arrays, corresponding with the "integer[]" type in a Navigation XML file.
Null values are supported. Default values in Navigation XML files are not supported.
|
NavType<Int!> |
IntType
NavType for storing integer values, corresponding with the "integer" type in a Navigation XML file.
Null values are not supported.
|
NavType<LongArray!> |
LongArrayType
NavType for storing long arrays, corresponding with the "long[]" type in a Navigation XML file.
Null values are supported. Default values in Navigation XML files are not supported.
|
NavType<Long!> |
LongType
NavType for storing long values, corresponding with the "long" type in a Navigation XML file.
Null values are not supported. Default values for this type in Navigation XML files must always end with an 'L' suffix, e.g. `app:defaultValue="123L"`.
|
NavType<Int!> |
ReferenceType
NavType for storing integer values representing resource ids, corresponding with the "reference" type in a Navigation XML file.
Null values are not supported.
|
NavType<Array<String!>!> |
StringArrayType
NavType for storing String arrays, corresponding with the "string[]" type in a Navigation XML file.
Null values are supported. Default values in Navigation XML files are not supported.
|
NavType<String!> |
StringType
NavType for storing String values, corresponding with the "string" type in a Navigation XML file.
Null values are supported.
| |