Error when using length on Android

0

I'm using length in the grantResult in a conditional, but I'm booting error.

    
asked by Gian Franco Alexis Poma Vidal 10.10.2018 в 21:49
source

1 answer

0

The IntArray class does not have the length property, so you must use size to get the number of elements in the array.

You can review more information about the class at the following link:

link

    
answered by 11.10.2018 в 18:51