I know neither HashMap nor SparseArray are threadsafe. Do I have to worry about that if I have a central data repository as HashMap which can be accessed by the activity and potentially by an AsyncTask?
Would it be advisable to use a HashTable or better ConcurrentHashMap to be on the safe side?