@@ -0,0 +1,1991 @@
+package com.anotherdev.stackapp.adapter;%0A%0Aimport android.support.v7.widget.RecyclerView;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.TextView;%0A%0Aimport com.anotherdev.stackapp.R;%0Aimport com.anotherdev.stackapp.api.stackexchange.Question;%0Aimport com.anotherdev.stackapp.api.stackexchange.Questions;%0Aimport com.anotherdev.stackapp.util.Dates;%0A%0Aimport java.util.List;%0A%0Aimport butterknife.Bind;%0Aimport butterknife.ButterKnife;%0A%0Apublic class QuestionAdapter extends RecyclerView.Adapter%3CQuestionAdapter.QuestionHolder%3E %7B%0A%0A    private final List%3CQuestion%3E mQuestions;%0A%0A%0A    public QuestionAdapter(Questions questions) %7B%0A        mQuestions = questions.get();%0A    %7D%0A%0A    @Override%0A    public int getItemCount() %7B%0A        return mQuestions.size();%0A    %7D%0A%0A    @Override%0A    public QuestionHolder onCreateViewHolder(ViewGroup parent, int viewType) %7B%0A        View view = LayoutInflater%0A                .from(parent.getContext())%0A                .inflate(R.layout.view_question, parent, false);%0A        return new QuestionHolder(view);%0A    %7D%0A%0A    @Override%0A    public void onBindViewHolder(QuestionHolder holder, int position) %7B%0A        final Question q = mQuestions.get(position);%0A%0A        holder.title.setText(q.getTitle());%0A        holder.owner.setText(q.getOwner().getDisplayName());%0A        holder.timeAgo.setText(Dates.getTimeAgo(q.getLastActivityDate()));%0A%0A        final boolean isLastPosition = position == (getItemCount() - 1);%0A        holder.divider.setVisibility(isLastPosition ? View.GONE : View.VISIBLE);%0A    %7D%0A%0A    static class QuestionHolder extends RecyclerView.ViewHolder %7B%0A%0A        @Bind(R.id.question_title) TextView title;%0A        @Bind(R.id.question_owner) TextView owner;%0A        @Bind(R.id.question_time_ago) TextView timeAgo;%0A        @Bind(R.id.divider) View divider;%0A%0A%0A        public QuestionHolder(View itemView) %7B%0A            super(itemView);%0A            ButterKnife.bind(this, itemView);%0A        %7D%0A    %7D%0A%7D%0A

add initial question adapter