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
我有2个adapter mLeftAdapter,mRightAdapter 名字同但是是相同的adapter 其中的初始化的点击事件 init { setOnItemClickListener { _, view, position -> getItem(position) } } 当我使用 swapAdapter 切换适配器以后 从mLeftAdapter切换到 mRightAdapter 后 UI显示正确,但是getItem 获取的数据时mLeftAdapter 中的内容 而且 mdatas 中的数据也是和 mLeftAdapter 中的数据
The text was updated successfully, but these errors were encountered:
未能重现该问题,感觉是你的用法不太对,是否能提供一个 Demo ?
Sorry, something went wrong.
请根据规范提问 #2807
No branches or pull requests
我有2个adapter
mLeftAdapter,mRightAdapter 名字同但是是相同的adapter
其中的初始化的点击事件
init {
setOnItemClickListener { _, view, position ->
getItem(position)
}
}
当我使用 swapAdapter 切换适配器以后 从mLeftAdapter切换到 mRightAdapter 后
UI显示正确,但是getItem 获取的数据时mLeftAdapter 中的内容 而且 mdatas 中的数据也是和
mLeftAdapter 中的数据
The text was updated successfully, but these errors were encountered: