How to enumerate key value pairs of a bundle
android, bundle, enumeration
Solution
I think the only way to get all they key-value pairs is to enumerate through keys using `keySet()` and then `get()` its relative value. For example:
for(String key : bundle.keySet()){
Object obj = bundle.get(key); //later parse it as per your required type
}
Problem
Does anyone know of a way to enumerate all of the key value pairs of a bundle without knowing ahead of time all the keys?