In my activity, I show a dialog under some conditions like this:
public void showADialog(String title, String msg) {
if (mIsActivityRunning) {
new AlertDialog.Builder(this)
.show();
}
}
My question is - what do I need to do so that there is no leakage of resources? From logcat, I see that there is a case where he says that a window is leaking from him or something like that.
source
share