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
For example, I use these codes in callback.
I know it's not normative.. @OverRide
public void drop(int from, int to) {
if (from != to) {
AddingCardBean bean = mCards.get(from);
mCards.remove(from);
mCards.add(to,bean);
mCardAdapter = new MyCardAdapter(DayManageActivity.this,mCards);
mListView.setAdapter(mCardAdapter);
mListView.moveCheckState(from,to);
}
}
After I drag a item, the item returns to its former position.
The text was updated successfully, but these errors were encountered:
For example, I use these codes in callback.
I know it's not normative..
@OverRide
public void drop(int from, int to) {
if (from != to) {
AddingCardBean bean = mCards.get(from);
mCards.remove(from);
mCards.add(to,bean);
mCardAdapter = new MyCardAdapter(DayManageActivity.this,mCards);
mListView.setAdapter(mCardAdapter);
mListView.moveCheckState(from,to);
}
}
After I drag a item, the item returns to its former position.
The text was updated successfully, but these errors were encountered: