if (fromIndex+1==toIndex) {
return; //kein echtes verschieben...
}
if (playlistID!=-1) {//falls playlist-lib
//sortieren in der db anstoßen
Thread reorderInDB = new Thread(new PlaylistRowReorderer(getTrackCount(), playlistID, fromIndex, toIndex));
reorderInDB.start();
}
//und in der liste sortieren
Track fromTrack = tracks.get(fromIndex);