private void init(Context context) {
        LayoutInflater.from(context).inflate(R.layout.artist_view, this);
        this.setVisibility(INVISIBLE);
        mAvatar = ((ImageView) findViewById(R.id.artist_view_avatar));
        mArtistName = ((TextView) findViewById(R.id.artist_view_name));
        mTracks = ((TextView) findViewById(R.id.artist_view_track_number));
        mDescription = ((TextView) findViewById(R.id.artist_view_description));
    }
private void init ( Context context ) { LayoutInflater . from ( context ) . inflate ( R . layout . artist_view , this ) ; this . setVisibility ( INVISIBLE ) ; mAvatar = ( ( ImageView ) findViewById ( R . id . artist_view_avatar ) ) ; mArtistName = ( ( TextView ) findViewById ( R . id . artist_view_name ) ) ; mTracks = ( ( TextView ) findViewById ( R . id . artist_view_track_number ) ) ; mDescription = ( ( TextView ) findViewById ( R . id . artist_view_description ) ) ; }
Initialize internal component.

@param context holding context.