What is the main difference between calling remove() or delete() on a SparseArray, because they both accept key's as arguments. Thanks.
There is no difference. Quoting the documentation for remove():
Alias for delete(int).
In other words, they do the same thing. In the current implementation, remove() calls delete().
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