As the title described, I want to pass BigDecimal
type argument between the fragments while navigation. But I can't find the support of BigDecimal
type.
Here is the link of the supported types from google document support types
Any way to achieve it? Thanks!
CodePudding user response:
As per the BigDecimal docs, BigDecimal
extends Number
which implements Serializable
, which means it is supported just like any other Serializable
type in Navigation, as per the table you linked.
app:argType="java.math.BigDecimal"