Static reference with a Context field will make an Activity to never be GC? Using shared preferences instead?
I have a static reference to an object that has a Context field
into an activity.
This is activity is pretty much a container for a WebView and it’s reachable with the use of intent-filter
. In other words, links can be opened directly inside my app.