sharedpreferences - Usage of Shared Preferences in android library projects -


usage of shared preferences in android library projects allowed?i trying work on rating bar not sure whether can use shared preferences write that.

if have context, supplied app using library, can use sharedpreferences.

however, need bit careful ensure not accidentally try using same keys app might use. might consider using unique sharedpreferences file, rather getdefaultsharedpreferences().


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -