Matisse: 单选问题

Created on 20 Sep 2018  ·  2Comments  ·  Source: zhihu/Matisse

目前设置countable(false)以及maxSelectable(1)
效果是选择了一个后,想重新选一个,就必须将第一个取消,再去选第二个。非常不符合传统的单选逻辑。
我发现SelectionSpec#singleSelectionModeEnabled有这个方法,但是还没有用到更多的地方,勾选那块应该根据这个值做些优化。

enhancement

Most helpful comment

单选应该是随便点啊,每次都会选择最后点的那个,而不是非要去把前一个取消,才能选下个,还是希望修复下

All 2 comments

单选应该是随便点啊,每次都会选择最后点的那个,而不是非要去把前一个取消,才能选下个,还是希望修复下

设置了下面的属性,
在列表选择了一个图片(不去点击确定按钮),然后去点击第二图片,就会导致异常。
.countable(false)
.maxSelectable(1)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zzzhoukang picture zzzhoukang  ·  5Comments

zybooo1 picture zybooo1  ·  5Comments

hugoFather picture hugoFather  ·  5Comments

Alastor111 picture Alastor111  ·  6Comments

Mahan3340 picture Mahan3340  ·  4Comments