package pl.komunikator.komunikator;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import java.util.List;

import pl.komunikator.komunikator.entity.User;

/**
 * Created by adrian on 19.04.2017.
 */

public class SearchedUsersAdapter extends RecyclerView.Adapter<SearchedUsersAdapter.MyViewHolder> {

    private List<User> userList;


    public class MyViewHolder extends RecyclerView.ViewHolder {
        public TextView name, email;
        public ImageView photo;

        public MyViewHolder(View view) {
            super(view);

        }
    }


    @Override
    public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return null;
    }

    @Override
    public void onBindViewHolder(MyViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 0;
    }
}

@@ -452,17 +452,16 @@
 rList;%0A%0A
-%0A
     publ
@@ -665,16 +665,321 @@
     
-%7D%0A    %7D%0A
+    name = (TextView) view.findViewById(R.id.contactName);%0A            email = (TextView) view.findViewById(R.id.contactEmail);%0A            photo = (ImageView) view.findViewById(R.id.contactImageView);%0A        %7D%0A    %7D%0A%0A    public SearchedUsersAdapter(List%3CUser%3E userList) %7B%0A        this.userList = userList;%0A    %7D
 %0A%0A  
@@ -1257,10 +1257,11 @@
 ;%0A    %7D%0A
+%0A
 %7D%0A

Add constructor and implement MyViewHolder constructor