Open r0boto opened 8 years ago
i solved this issue mAdapter.setMode(Attributes.Mode.Multiple);
Same here I can't open all Items at once.
Even when I open swipe layout programmatically with layout.open()
in onCreateViewHolder()
some layouts doesn't open.
Hello, I trying to open all items in adapter at same tame on click.
I tried to do programatically by this way:
mAdapter.openItem(0); mAdapter.openItem(1); mAdapter.openItem(2);
But only the last item is opened, same problem with closing.
List listOfOpenedItems = mAdapter.getOpenItems();
for (Integer element : listOfOpenedItems) {
Logger.d("Opened position is: "+element.toString());
}
Is possible to open all items at once?
Many thanks for any advice