欢迎选择我的课程,让我们一起见证您的进步~~
Well, your understanding is correct and can be verified through the specific source code
//从Activity管理的容器中移除dialog的引用(可以近乎理解为销毁),并不显示对话框 public final void removeDialog(int id) { if (mManagedDialogs != null) { final ManagedDialog md = mManagedDialogs.get(id); if (md != null) { md.mDialog.dismiss(); mManagedDialogs.remove(id); } } } //仅仅是不显示对话框,便于再次使用。 public final void dismissDialog(int id) { if (mManagedDialogs == null) { throw missingDialog(id); } final ManagedDialog md = mManagedDialogs.get(id); if (md == null) { throw missingDialog(id); } md.mDialog.dismiss(); }
It has been deprecated in the new SDK. Not recommended. As for other books, try to read new ones
Well, your understanding is correct and can be verified through the specific source code
It has been deprecated in the new SDK. Not recommended. As for other books, try to read new ones