'buffers' is a List type, declared like this:
Private buffers As List
'PeakVol' is an int, declared like this:
Dim PeakVol As Int
It gets stuffed with Ints, I can break the debugger and see all the data, but when I try traverse the values in the list like this:
I get this error on the 'For Each' line:
java.lang.NumberFormatException: Invalid double: "[I@41e54cc8"
I can't quite firgure out what I'm doing wrong. Why is it saying invalid double? Everything is Int.
Private buffers As List
'PeakVol' is an int, declared like this:
Dim PeakVol As Int
It gets stuffed with Ints, I can break the debugger and see all the data, but when I try traverse the values in the list like this:
B4X:
For Each b As Int In buffers
PeakVol = b
Next
I get this error on the 'For Each' line:
java.lang.NumberFormatException: Invalid double: "[I@41e54cc8"
I can't quite firgure out what I'm doing wrong. Why is it saying invalid double? Everything is Int.