SparseArray remove () and delete () what's the difference?

What is the main difference between remove () or delete () calls on a SparseArray, because they both take the key as arguments. Thanks.

+4
source share
1 answer

There is no difference. Documentationremove() citation for :

Alias ​​for delete (int).

In other words, they do the same. In the current implementation , remove()calls delete().
+7
source

All Articles