sharedpreferences - Shared preferences are empty on initial set up of Android app -


i have code set shared preferences:

scontext = getapplicationcontext(); configuration = new configurationdata(preferencemanager.getdefaultsharedpreferences(scontext)); 

but i'm finding mmap , hashmap table inside preferencemanager.getdefaultsharedpreferences(scontext) empty. why empty? think i've set preference screens , values correctly because working earlier today.

i'm trying think of what's changed... timing issue? need occur before sharedpreferences load?

how initialised? redeployed app emulator not long ago it's fresh install, maybe need populate hashmap?

any ideas welcome, thank you.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -