Пример #1
0
 public static boolean isOnlineMusic(Song song) {
   boolean flag;
   if (song.mMusicType == MusicType.ONLINEMUSIC.ordinal()
       || song.mMusicType == MusicType.RADIO.ordinal()) flag = true;
   else flag = false;
   return flag;
 }
Пример #2
0
 public static boolean isRadioMusic(Song song) {
   boolean flag;
   if (song != null && song.mMusicType == MusicType.RADIO.ordinal()) flag = true;
   else flag = false;
   return flag;
 }