示例#1
0
  public boolean sameMainMetaData(Track t) {
    if (t == null) return false;

    return (compare(t.getTitle(), mTitle)
        && compare(t.getAlbumTitle(), mAlbumTitle)
        && compare(t.getArtistName(), mArtistName));
  }
示例#2
0
 public ConcreteTrack(Track t) {
   mId = t.getId();
   mPlayUrl = t.getPlayUrl(null, 0);
   mTitle = t.getTitle();
   mArtistId = t.getArtistId();
   mArtistName = t.getArtistName();
   mAlbumId = t.getAlbumId();
   mAlbumTitle = t.getAlbumTitle();
 }