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
判断是用户选择的标签还是框架默认选择的第一个
The text was updated successfully, but these errors were encountered:
目前是没有判断标签是否是用户手动选中的,因为无论是用户点击选中还是初始化是默认选中或者调用setSelects、setCompulsorys选中,都是调用相同的方法处理的,而且区分这个的意义不大。 但是你这个需求其实是可以实现的,你可以setOnLabelClickListener()监听标签的点击事件,用户通过点击改变标签状态时会回调这个监听,如果是默认选中或者通过代码设置选中,就不会回调这个监听。这样你就可以记录那些标签是用户手动选中了。 在点击监听的回调里判断当前标签是否选中:mLabelView.getSelectLabels().contains(position);
Sorry, something went wrong.
No branches or pull requests
判断是用户选择的标签还是框架默认选择的第一个
The text was updated successfully, but these errors were encountered: