We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mAdapter.itemAdapterClick = { parentPos, adapter, childPos -> ToastUtils.showShort("点击了") mAdapter.notifyDataSetChanged() } itemAdapter.draggableModule.isDragEnabled = true itemAdapter.setOnItemClickListener { adapter, view, position -> if (::itemAdapterClick.isInitialized) { itemAdapterClick.invoke(layoutPosition, itemAdapter, position) } } 使用版本3.0.14,过程是:正常情况下拖拽是没有问题的,当点击item后,再长按拖拽事件,拖拽事件就会失效,感觉是冲突的样子
The text was updated successfully, but these errors were encountered:
刚开始拖拽没问题,点击后,再拖拽就会大概率失效
Sorry, something went wrong.
No branches or pull requests
mAdapter.itemAdapterClick = { parentPos, adapter, childPos ->
ToastUtils.showShort("点击了")
mAdapter.notifyDataSetChanged()
}
itemAdapter.draggableModule.isDragEnabled = true
itemAdapter.setOnItemClickListener { adapter, view, position ->
if (::itemAdapterClick.isInitialized) {
itemAdapterClick.invoke(layoutPosition, itemAdapter, position)
}
}
使用版本3.0.14,过程是:正常情况下拖拽是没有问题的,当点击item后,再长按拖拽事件,拖拽事件就会失效,感觉是冲突的样子
The text was updated successfully, but these errors were encountered: