I am trying to send a bigdecimal number from my main app to the widget.
Currently, it is set up as a float and works like this:
float Current = intent.getFloatExtra("Current", 0);
Is there a way to do it for BigDecimal for example?
BigDecimal current = intent.getBigDecimalExtra("Current", 0)?
Thanks
No. One alternative may be pass as String and covert it back to BigDecimal in other activity.