Singsys blog

Android ArrayMap and SparseArray: Working Comparison and Conclusion

ArrayMap and SparseArray

Collection refers to a task when software development is concerned. HashMap is first data structure to emerge in mind when we look to store data in key-value pairs. On behalf of its flexibility, it is the most popular data structure choice. In order to boost the performance of Android App, there are two important set of collection ArrayMap and SparseArray are built exclusively for mobile. Thereby, substantially more memory efficient in comparison to a HashMap collection.

  (more…)

Android App Optimization With ArrayMap and SparseArray

Array Map and Sparse App

HashMap is quite flexible hence it is most preferred data structure choice to store key -> value pairs. Although Android Studio will war you when you try t use a HashMap. Well then let’s look at why we should be using ArrayMap.

  (more…)