I know this is possible:
Map<Integer, Object> map = new HashMap<Integer, Object>();
...
List<Object> arrayList = new ArrayList<Object>(map.values());
But according to android SparseArray<Object>
is more efficient, hence, I am wondering if it is possible to convert a SparseArray
to Arraylist
.
Much appreciate any input.