Replaces HashMap<Integer, ?> with SparseArray<?> to improve efficiency.