How safe is the Android's MutableContextWrapper to use in terms of memory leak etc? I am instantiating a WebView with an Activity's context and later want to change its context to another Activity.
Here is an answer that warns of using MutableContextWrapper for WebView as it can cause leaks with mix of contexts. But i dont see any reason as how can it cause leaks when we change its context?
Why shouldnt we change a View's context once its been intialized?
Has anybody used in and faced any problems(specially for WebView)? Are there any precautionary measures while using it?Any data to share for this?