Select only one track
Posted: Thu Sep 11, 2014 10:00 am
with ISDBTracksWindow.set_selected(index, true) i can select a track. The problem is that the selection is multiple, and when set_selected is used if there are already other tracks selected they remains selected.
How can clear the selection before select a new track?
for example ISDBTracksWindow.set_selected(index, false) can delesect the tracks already selected but I don't know how many they are, their index or their ids.
if the trackswindow has thousend of tracks, I' have to iterate all of them and foreach of them use set_selected(index, false). this is Crazy becouse is really, really slow.
How can clear the selection before select a new track?
for example ISDBTracksWindow.set_selected(index, false) can delesect the tracks already selected but I don't know how many they are, their index or their ids.
if the trackswindow has thousend of tracks, I' have to iterate all of them and foreach of them use set_selected(index, false). this is Crazy becouse is really, really slow.