I'm curious why DataMap in the Android Wear SDK doesn't have a putIntArray method, but instead has a putIntegerArrayList method for Integers.
DataMap has putByteArray, putFloatArray, putLongArray, putStringArray, but not putIntArray.
What is the reason for not allowing int arrays but requiring an ArrayList type instead of integer arrays.
You are allowed to put primitive int values in via putInt, but if you want to put in an array of them you have to store Integers not ints as an ArrayList
I think that is a simple omission on our side; I opened an internal issue to address that; thanks for reporting it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With