package com.example.todocloud.adapter;

public class TodoAdapterTest {
}

@@ -37,37 +37,1120 @@
 r;%0A%0A
-public class TodoAdapterTest %7B
+import android.support.v7.widget.RecyclerView;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.TextView;%0A%0Aimport com.example.todocloud.R;%0Aimport com.example.todocloud.data.Todo;%0A%0Aimport java.util.List;%0A%0Apublic class TodoAdapterTest extends RecyclerView.Adapter%3CTodoAdapterTest.MyViewHolder%3E %7B%0A%0A  private List%3CTodo%3E todosList;%0A%0A  @Override%0A  public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) %7B%0A    View itemView = LayoutInflater.from(parent.getContext())%0A        .inflate(R.layout.todo_item, parent, false);%0A%0A    return new MyViewHolder(itemView);%0A  %7D%0A%0A  @Override%0A  public void onBindViewHolder(MyViewHolder holder, int position) %7B%0A    Todo todo = todosList.get(position);%0A    holder.title.setText(todo.getTitle());%0A  %7D%0A%0A  @Override%0A  public int getItemCount() %7B%0A    return todosList.size();%0A  %7D%0A%0A  public class MyViewHolder extends RecyclerView.ViewHolder %7B%0A%0A    public TextView title;%0A%0A    public MyViewHolder(View itemView) %7B%0A      super(itemView);%0A      title = (TextView) itemView.findViewById(R.id.tvTitle);%0A    %7D%0A%0A  %7D%0A
 %0A%7D%0A

Add TodoAdapterTest class