Exemplo n.º 1
0
 public void onPlayerStatusChange(PlayerStatusChangedEvent evt) {
   PlayerStatus newPlayerStatus = evt.getNewStatus();
   if (newPlayerStatus.equals(PlayerStatus.STATUS_STOPPED)) {
     setIcon(this.playIcon);
   } else if (context.getPlayer().isSupportSeeking()) {
     setIcon(this.pauseIcon);
   } else {
     setIcon(this.stopIcon);
   }
 }