I have the following lines on my code:
Log.d ("Playlist", "Current Song Number is: "+ currentSongNumber );
currentSongNumber = currentSongNumber++;
Log.d ("Playlist", "Current Song Number has changed to: "+ currentSongNumber );
But i get the result:
Current Song Number is: 2
Current Song Number has changed to: 2
So why has it not chaged to three does ++ only work when iterating?