android - Can I use SharedPreferences (and PreferenceFragment) for per-account settings? -



android - Can I use SharedPreferences (and PreferenceFragment) for per-account settings? -

i'm using accountmanager, after implementing own authenticator , syncadapter. i'm storing users's username , password in account. i'd store other settings each user, such how many items syncadapter should cache locally.

i'm afraid i'll have utilize accountmanager.setuserdata() , accountmanager.getuserdata() instead of sharedpreferences. convenience of preferencefragment , xml definition. there no way associate sharedpreferences business relationship , allow preferencefragment deal account-specific sharedpreferences?

android android-preferences

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -