weixin_39892565
2020-12-25 18:35 阅读 3

Can we get isSelected()?

from https://github.com/dvdciri/MultiChoiceRecyclerView/issues/28#issuecomment-274800577

Can we get some kind of isSelected() instead of getSelectedItemCount()

该提问来源于开源项目:dvdciri/MultiChoiceRecyclerView

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • weixin_39631344 weixin_39631344 2020-12-25 18:35

    Yes we can! =) It was in a previous version but i decided to remove it for some reasons. Will implement it.

    点赞 评论 复制链接分享
  • weixin_39631344 weixin_39631344 2020-12-25 18:35

    I thought you want something like isSelected(int position), in that case i'm gonna close this because as i said, you can use getSelectedItemCount() > 0 and this is what i added it for.

    点赞 评论 复制链接分享
  • weixin_39892565 weixin_39892565 2020-12-25 18:35

    Hmm, isSelected(int position) is a good idea though. Should we change the title of the issue and re-open it? :-)

    点赞 评论 复制链接分享
  • weixin_39631344 weixin_39631344 2020-12-25 18:35

    We can open another issue for the isSelected(int position), it's a quick add

    点赞 评论 复制链接分享

相关推荐