Android Open Source - LocalMusicPlayer Song View Holder






From Project

Back to project page LocalMusicPlayer.

License

The source code is released under:

MIT License

If you think the Android project LocalMusicPlayer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.yprikhodko.localmusicplayer;
//  ww w .j  a  va 2s. c om
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * Created by yasha on 12/12/14.
 */
public class SongViewHolder extends RecyclerView.ViewHolder {
    protected TextView vArtist;
    protected TextView vTitle;
    protected ImageView vArtwork;

    public SongViewHolder(View v) {
        super(v);
        vTitle = (TextView) v.findViewById(R.id.song_title);
        vArtist = (TextView) v.findViewById(R.id.song_artist);
        vArtwork = (ImageView) v.findViewById(R.id.song_art);
    }
}




Java Source Code List

com.yprikhodko.localmusicplayer.ApplicationTest.java
com.yprikhodko.localmusicplayer.MusicService.java
com.yprikhodko.localmusicplayer.RecyclerItemClickListener.java
com.yprikhodko.localmusicplayer.SongAdapter.java
com.yprikhodko.localmusicplayer.SongViewHolder.java
com.yprikhodko.localmusicplayer.Song.java
com.yprikhodko.localmusicplayer.SongsFragment.java
com.yprikhodko.localmusicplayer.StartActivity.java