You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
Hello Sir,
Thanks for this the best library. Sir I am quite confused for drag event, from your Conversion I got that swapItems() is fired at last. Am I right? Let me inform if I am wrong. When I have draged item from Page1 to page 3 The item show perfect as on 3rd page but when I check with this method
public void swapItems(int pageIndex, int itemIndexA, int itemIndexB) {
getPage(pageIndex).swapItems(itemIndexA, itemIndexB);
for (Page page : pages) {
for (Item item : page.getItems()) {
Log.d("Item:"+item.getItemId(), item.getName());
}
}
}
My log shows me wrong output. Dragged item is showing with page 2 I mean Wrong position.My purpose is to stored item position in database. Suggest me what I mad mistake?
Thanks
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello Sir,
Thanks for this the best library. Sir I am quite confused for drag event, from your Conversion I got that swapItems() is fired at last. Am I right? Let me inform if I am wrong. When I have draged item from Page1 to page 3 The item show perfect as on 3rd page but when I check with this method
public void swapItems(int pageIndex, int itemIndexA, int itemIndexB) {
getPage(pageIndex).swapItems(itemIndexA, itemIndexB);
for (Page page : pages) {
for (Item item : page.getItems()) {
Log.d("Item:"+item.getItemId(), item.getName());
}
}
}
My log shows me wrong output. Dragged item is showing with page 2 I mean Wrong position.My purpose is to stored item position in database. Suggest me what I mad mistake?
Thanks
The text was updated successfully, but these errors were encountered: