0

In Android, I have two Apps sharing user ID. App A creates a sharedPreference and App B can read it in its activity's onResume(). The question is: I modified the preference in A and then go to B, I find the value is still the old one -- I am sure the preference has committed because I can see the new value in Pref.xml. I have to exit B and re-enter it, then I can see the new value. Would you please point me why? where is the buffer? how to refresh the preference mandatory? Thanks for your comments in advance :)

Marco
  • 21
  • 2

0 Answers0