@@ -0,0 +1,2440 @@
+package org.apache.taverna.mobile.ui.adapter;%0A%0Aimport org.apache.taverna.mobile.R;%0Aimport org.apache.taverna.mobile.data.model.DetailWorkflow;%0A%0Aimport android.content.Context;%0Aimport android.support.v7.widget.RecyclerView;%0Aimport android.util.Log;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.TextView;%0A%0Aimport java.util.List;%0A%0Aimport butterknife.BindView;%0Aimport butterknife.ButterKnife;%0A%0Apublic class WorkflowAdapter extends RecyclerView.Adapter%3CRecyclerView.ViewHolder%3E %7B%0A    private static final String TAG = WorkflowAdapter.class.getName();%0A    private final List%3CDetailWorkflow%3E detailWorkflowList;%0A    private final Context context;%0A%0A    public WorkflowAdapter(List%3CDetailWorkflow%3E detailWorkflowList ,Context context) %7B%0A        this.detailWorkflowList = detailWorkflowList;%0A        this.context = context;%0A    %7D%0A%0A    public void addWorkflow(DetailWorkflow detailWorkflow) %7B%0A        this.detailWorkflowList.add(detailWorkflow);%0A%0A    %7D%0A%0A    @Override%0A    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) %7B%0A        return new ViewHolder(LayoutInflater.from(parent.getContext()).inflate(%0A                R.layout.item_recyclerview_dashboard, parent, false));%0A    %7D%0A%0A    @Override%0A    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) %7B%0A        if (holder instanceof ViewHolder) %7B%0A            DetailWorkflow detailWorkflow = detailWorkflowList.get(position);%0A            ((ViewHolder) holder).tvDate.setText(detailWorkflow.getCreatedAt());%0A            ((ViewHolder) holder).tvTitle.setText(detailWorkflow.getTitle());%0A            ((ViewHolder) holder).tvType.setText(detailWorkflow.getType().getContent());%0A            ((ViewHolder) holder).tvUploader.setText(detailWorkflow.getUploader().getContent());%0A        %7D%0A    %7D%0A%0A    @Override%0A    public int getItemCount() %7B%0A        Log.d(TAG, %22getItemCount: %22+detailWorkflowList.size());%0A        return detailWorkflowList.size();%0A    %7D%0A%0A%0A%0A    class ViewHolder extends RecyclerView.ViewHolder %7B%0A%0A        @BindView(R.id.tvDate)%0A        TextView tvDate;%0A        @BindView(R.id.tvTitle)%0A        TextView tvTitle;%0A        @BindView(R.id.tvType)%0A        TextView tvType;%0A        @BindView(R.id.tvUploader)%0A        TextView tvUploader;%0A%0A        public ViewHolder(View itemView) %7B%0A            super(itemView);%0A            ButterKnife.bind(this, itemView);%0A        %7D%0A    %7D%0A%7D%0A

add workflow adapter