We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f506ea commit 7edc708Copy full SHA for 7edc708
1 file changed
androidarcmenu/src/main/java/com/hackplan/androidarcmenu/ArcMenuLayout.java
@@ -124,7 +124,9 @@ public boolean onTouchEvent(MotionEvent event) {
124
if (lastFocusIndex != -1) {
125
AnimatorUtils.openMenu(this, lastFocusIndex);
126
show = false;
127
- if (onClickBtnListener != null) onClickBtnListener.onClickArcMenu(lastFocusIndex);
+ if (onClickBtnListener != null) {
128
+ onClickBtnListener.onClickArcMenu((int)getChildAt(lastFocusIndex).getTag());
129
+ }
130
} else if (hideOnTouchUp) {
131
AnimatorUtils.hideMenu(this, touchPoint);
132
0 commit comments