app/src/main/java/com/kunzisoft/keepass/utils/MemUtil.java
public static HashMap<String, String> readStringParcelableMap(Parcel in) {
        int size = in.readInt();
		HashMap<String, String> map = new HashMap<>(size);
        for(int i = 0; i < size; i++){
            map.put(in.readString(),
                    in.readString());
        }
        return map;
    }
// For reading map with string key and string value from a Parcel
For reading map with string key and string value from a Parcel
For reading map with string key and string value from a Parcel
public static HashMap<String, String> readStringParcelableMap(Parcel in) {
        int size = in.readInt();
		HashMap<String, String> map = new HashMap<>(size);
        for(int i = 0; i < size; i++){
            map.put(in.readString(),
                    in.readString());
        }
        return map;
    }
public static HashMap < String , String > readStringParcelableMap ( Parcel in ) { int size = in . readInt ( ) ; HashMap < String , String > map = new HashMap < > ( size ) ; for ( int i = 0 ; i < size ; i ++ ) { map . put ( in . readString ( ) , in . readString ( ) ) ; } return map ; }
For reading map with string key and string value from a Parcel
For reading map with string key and string value from a Parcel