« Previous | Next » 

Revision 09db3524

Parent 09fb7969
Child 4cbf97b4

Added by Hans-Christoph Steiner over 3 years ago

use getApplicationContext() when storing a passed in Context

getApplicationContext() returns the Context of the application, which is
guaranteed to have the same life as the app itself. Other Contexts, like
an Activity, might go away during runtime.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences