修复【直播间-多次点击用户名称,弹出多个主页资料框窗口】问题
This commit is contained in:
parent
710cddd3a7
commit
1a3d66553c
@ -80,7 +80,9 @@ public abstract class AbsDialogFragment extends DialogFragment {
|
|||||||
@Override
|
@Override
|
||||||
public void show(@NonNull FragmentManager manager, @Nullable String tag) {
|
public void show(@NonNull FragmentManager manager, @Nullable String tag) {
|
||||||
try {
|
try {
|
||||||
|
if (manager.findFragmentByTag(tag) == null) {
|
||||||
super.show(manager, tag);
|
super.show(manager, tag);
|
||||||
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user