mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-15 17:00:36 +03:00
Call notifyDataSetChanged() on adapter in drag and drop
This commit is contained in:
parent
ca0d90a153
commit
b3875e7863
@ -1226,9 +1226,9 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
|
||||
{
|
||||
DownloadFile item = adapter.getItem(from);
|
||||
adapter.remove(item);
|
||||
adapter.notifyDataSetChanged();
|
||||
adapter.insert(item, to);
|
||||
//onDownloadListChanged();
|
||||
//onCurrentChanged();
|
||||
adapter.notifyDataSetChanged();
|
||||
}
|
||||
}
|
||||
|
||||
@ -1257,6 +1257,7 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
|
||||
}
|
||||
|
||||
adapter.remove(item);
|
||||
adapter.notifyDataSetChanged();
|
||||
|
||||
String songRemoved = String.format(getResources().getString(R.string.download_song_removed), item.getSong().getTitle());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user