I'm trying to wrap my head around persistency when it comes to Android preferences. There's an at开发者_如何学Gotribute persistent, which can be either true or false. If true, the preference is committed to shared preferences. How can a preference be used if it's not persistent?
You could (ab-)use Preferences as menu items (make them clickable to launch some other action) or to display some info, e.g. application version etc.
In this case, you don't want them to be stored in the xml file.
精彩评论