I want to store the hashmap object in global class so that it will store value even after the mobile restart. Any idea how to go about this concept.
Serialize it and save it in shared preferences or in a file. Whether you can do this, of course, depends on the data types being mapped from and to. (This won't work, for instance, if you try to serialize a View.)