I've got some key-value pairs in SharedPreferences
, there are ints, floats, Strings, etc. Is there any way to check if a given key is of a specific type?
EDIT
I've studied the documentation and available methods. Sadly, it seems to me that i'd need to make it a "dirty" way, just trying every get method until i get value different than default set as parameter. this is the only one i figured out, but don't like it much...