package mn.devfest.speakers;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import butterknife.Bind;
import mn.devfest.R;

/**
 * Fragment that displays the list of speakers
 *
 * @author bherbst
 * @author pfuentes
 */
public class SpeakerListFragment extends Fragment {

    @Bind(R.id.session_list_recyclerview)
    RecyclerView mSessionRecyclerView;

    private SpeakerListAdapter mAdapter;
    private LinearLayoutManager mLinearLayoutManager;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_speaker_list, container, false);
    }

    @Override
    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);

        view.findViewById(R.id.view_speaker_details).setOnClickListener(clicked ->
                this.startActivity(new Intent(getContext(), SpeakerDetailsActivity.class)));
    }
    
}

@@ -370,24 +370,85 @@
 ort 
-butterknife.Bind
+java.util.ArrayList;%0A%0Aimport butterknife.Bind;%0Aimport butterknife.ButterKnife
 ;%0Aim
@@ -633,22 +633,22 @@
 d(R.id.s
-ession
+peaker
 _list_re
@@ -682,14 +682,14 @@
 w mS
-ession
+peaker
 Recy
@@ -939,14 +939,19 @@
     
-return
+View view =
  inf
@@ -1015,16 +1015,685 @@
 false);%0A
+        ButterKnife.bind(this, view);%0A%0A        //TODO set data real date on adapter & remove dummy data%0A        ArrayList%3CSpeaker%3E dummyData = new ArrayList%3C%3E();%0A        for (int i = 0; i %3C 10; i ++) %7B%0A            Speaker speaker = new Speaker();%0A            speaker.setId(i);%0A            speaker.setName(%22Speaker #%22 + i);%0A            dummyData.add(speaker);%0A        %7D%0A%0A        mAdapter = new SpeakerListAdapter();%0A        mAdapter.setSpeakers(dummyData);%0A        mSpeakerRecyclerView.setAdapter(mAdapter);%0A        mLinearLayoutManager = new LinearLayoutManager(getActivity());%0A        mSpeakerRecyclerView.setLayoutManager(mLinearLayoutManager);%0A%0A        return view;%0A
     %7D%0A%0A 

Add dummy data and initialize the speaker adapter