Home > Mobile >  HorizontalListView item click event has a 1 second delay for great god help have a look
HorizontalListView item click event has a 1 second delay for great god help have a look

Time:04-01

HorizontalListView I spent here (https://blog.csdn.net/qq941263013/article/details/80264198), but not his Adapter, use the SimpleAdapter, can display and click, click event appeared delay, however, under the blog of another HorizontalListView also see someone appear the same problem, click on the log, even after the item problem may be in: InputEventConsistencyVerifier: TouchEvent: ACTION_DOWN but Pointers are already down. Probably missing ACTION_UP from previous gesture, but I don't know how to solve this problem, where should add what, a great god help analysis
 
The 21-03-31 11:11:16. 787, 26882-26882/me. F1reking. Android_serialport D/InputEventConsistencyVerifier: TouchEvent: ACTION_DOWN but Pointers are already down. Probably missing ACTION_UP from previous gesture.
In me. F1reking. Android_serialport. HorizontalListView {aba906a V.E... . 20, living - 904314 # 7 f0800d0 app: id/myinfoList}
0: sent the at 7101091490000, MotionEvent {action=ACTION_DOWN, actionButton=0, id [0]=0, [0]=79.85365 x, y [0]=72.54907, toolType [0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0 x0, edgeFlags=0 x0, pointerCount=1, historySize=0, eventTime=7101091, downTime=7101091, deviceId=2, source=0 x1002}
- recent events -
1: sent the at 7101091490000, MotionEvent {action=ACTION_DOWN, actionButton=0, id [0]=0, [0]=79.85365 x, y [0]=72.54907, toolType [0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0 x0, edgeFlags=0 x0, pointerCount=1, historySize=0, eventTime=7101091, downTime=7101091, deviceId=2, source=0 x1002}
2: sent the at 7095710827000, (unhandled) MotionEvent {action=ACTION_UP, actionButton=0, id [0]=0, [0]=517.42633 x, y [0]=96.509155, toolType [0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0 x0, edgeFlags=0 x0, pointerCount=1, historySize=0, eventTime=7095710, downTime=7095648, deviceId=2, source=0 x1002}
3: sent the at 7095710827000, MotionEvent {action=ACTION_UP, actionButton=0, id [0]=0, [0]=517.42633 x, y [0]=96.509155, toolType [0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0 x0, edgeFlags=0 x0, pointerCount=1, historySize=0, eventTime=7095710, downTime=7095648, deviceId=2, source=0 x1002}
4: sent the at 7095700361000, MotionEvent {action=ACTION_MOVE, actionButton=0, id [0]=0, [0]=517.42633 x, y [0]=96.509155, toolType [0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0 x0, edgeFlags=0 x0, pointerCount=1, historySize=0, eventTime=7095700, downTime=7095648, deviceId=2, source=0 x1002}
5: sent the at 7095700361000, MotionEvent {action=ACTION_MOVE, actionButton=0, id [0]=0, [0]=517.42633 x, y [0]=96.509155, toolType [0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0 x0, edgeFlags=0 x0, pointerCount=1, historySize=0, eventTime=7095700, downTime=7095648, deviceId=2, source=0 x1002}
20

CodePudding user response:

Under the above log to find the reason, because I was a imagebotton, click on the item is not in place of the imagebutton hasn't the log, but the click event with a delay problem still not solved, big help. Thanks

CodePudding user response:

  • Related