Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

android isShuffle

 
paul beppe
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI!!!

i want create one Shuffle for songs....

for goto next i write this code:



how can to to use the isShuffle??

help me please!!!
 
Maneesh Godbole
Saloon Keeper
Posts: 11341
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do take out time to CarefullyChooseOneForum
This forum is for Swing questions. I will move your question over to the Android forum for you.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "isShuffle"? is that a method you need to write? Or a method you want to use? If so, of which class is it a part?

And more generally, what does this code do now, and how does that differ from what you want it to do? Which particular difficulty are facing making the required changes?
 
paul beppe
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to mix the order of the list of songs .....


 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sort of answers the first part of my questions, but not at all the second part, so I don't know what to suggest.
 
Irina Goble
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is mGetSong? How the list of songs is stored? You could use Collections.shuffle() if they are in a list.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic