AndroidSwipeLayout icon indicating copy to clipboard operation
AndroidSwipeLayout copied to clipboard

Dynamic open / close swipelayout not work with recyclerview.

Open hitesh-dhamshaniya opened this issue 7 years ago • 2 comments

I face issue of open/close Swype layout

public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {
        if (holder instanceof ViewHolder) {
if (productItem.isSelected())
                swipeLayout.open(true);
            else
                swipeLayout.close(true)
}
public void toggleDeleteOption(boolean isEditMode) {
        for (int i = 0; i < mProductItemsArrayList.size(); i++) {
            mProductItemsArrayList.get(i).setSelected(isEditMode);
        }
        notifyDataSetChanged();
    }

hitesh-dhamshaniya avatar Jul 05 '17 11:07 hitesh-dhamshaniya

Hello, any udpate on this issue ?

dimspro avatar Mar 03 '18 05:03 dimspro

This is probably a usage issue. I just got it running with RecyclerView in version 1.2.0

micaelomota avatar Aug 29 '19 18:08 micaelomota