@Override
                public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
                    if (!isMenuItemEnable(position)) {
                        return;
                    }
                    haptic(view);
                    selectIndex = position;
                    if (!closing) {
                        lastHash = menuList.hashCode();
                        boolean callBack = getOnMenuItemClickListener().onClick(me, menuList.get(position), position);
                        if (!notCheckHash) {
                            if (lastHash == menuList.hashCode()) {
                                if (callBack) {
                                    callBack = false;
                                }
                            }
                        }
                        if (!callBack) {
                            dismiss();
                        }
                    }
                }
@author: Kongzue
@github: https://github.com/kongzue/
@homepage: http://kongzue.com/
@mail: myzcxhh@live.cn
@createTime: 2021/8/18 14:27
DialogX/src/main/java/com/kongzue/dialogx/dialogs/PopMenu.java