Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android preference, does it have to be unique?

Tags:

android

For my private static final String PREFS_NAME = "mypref"; does the PREFS_NAME have to be unique for every application? Or can I use the same one over and over.

like image 598
zaid Avatar asked Feb 19 '26 15:02

zaid


1 Answers

It just has to be unique per app. Different apps can use the same name without collision.

like image 82
Mark B Avatar answered Feb 21 '26 14:02

Mark B