Revision 09db3524
ID | 09db3524cf55fb9fc2f30cfc5902e1ed74d909da |
Parent | 09fb7969 |
Child | 4cbf97b4 |
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.
Files
- added
- modified
- copied
- renamed
- deleted