Closed stereo720712 closed 7 years ago
I check the status when call fill value function , it's all close state , but when first item add , it's shown at open state.
For this problem, i write like the demo adapter code , finally i restore the adapter and take the swipe layout in view holder , it's run well.
1.When first add item , it’s ok 2.After delete all items and add a item, the first item swipelayout is present at open state(). 3.When I add second item again , the first item become close state too.
How can I force the state to close when add a new item ? I try add swipelayout.close() at delete button click lisetener and in fill value function, but it not work
the below link is the result gif I make to present the problem . http://www.giphy.com/gifs/xUPGcqXLdNKE0j0oik
Thanks all.