codepath / codepath/android_guides

Will context.getApplicationContext return null happen?

Open
#356 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
28.3k
Forks
6.2k
PR merge metrics
No merged PRs in 30d

Description

According to this page [Understanding the Android Application Class](https://github.com/codepath/android_guides/wiki/Understanding-the-Android-Application-Class)

> The application object is not guaranteed to stay in memory forever

So the application will be released when somes components is alive? My app has some crash reports caused by application null pointer exception in service.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.