// Path: app/src/main/java/com/livingstoneapp/helpers/RecyclerViewOnClickListener.java
// public interface RecyclerViewOnClickListener<T> {
//     void onItemClick(T item);
// }
// 
// Path: app/src/main/java/com/livingstoneapp/helpers/RecyclerViewOnClickListenerInternal.java
// public interface RecyclerViewOnClickListenerInternal {
//     void onItemClick(int position);
// }
// 
// Path: app/src/main/java/com/livingstoneapp/models/RequestedPermission.java
// public class RequestedPermission {
//     private String mName;
//     private boolean mGranted;
// 
//     public RequestedPermission(String mName, boolean mGranted) {
//         this.mGranted = mGranted;
//         this.mName = mName;
//     }
// 
//     public boolean isGranted() {
//         return mGranted;
//     }
// 
//     public String getName() {
//         return mName;
//     }
// }


import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.List;
import butterknife.Bind;
import butterknife.ButterKnife;
import com.livingstoneapp.R;
import com.livingstoneapp.helpers.RecyclerViewOnClickListener;
import com.livingstoneapp.helpers.RecyclerViewOnClickListenerInternal;
import com.livingstoneapp.models.RequestedPermission;
package com.livingstoneapp.adapters;




/**
 * Created by renier on 2/17/2016.
 */
public class RequestedPermissionsAdapter extends RecyclerView.Adapter<RequestedPermissionsAdapter.ViewHolder> {

    private RecyclerViewOnClickListener<RequestedPermission> mListener;


    protected List<RequestedPermission> mData;

    public RequestedPermissionsAdapter(List<RequestedPermission> data) {
        mData = data;
    }

    public void setOnClickListener(RecyclerViewOnClickListener<RequestedPermission> listener) {
        this.mListener = listener;
    }

    @Override
// Path: app/src/main/java/com/livingstoneapp/helpers/RecyclerViewOnClickListener.java
// public interface RecyclerViewOnClickListener<T> {
//     void onItemClick(T item);
// }
// 
// Path: app/src/main/java/com/livingstoneapp/helpers/RecyclerViewOnClickListenerInternal.java
// public interface RecyclerViewOnClickListenerInternal {
//     void onItemClick(int position);
// }
// 
// Path: app/src/main/java/com/livingstoneapp/models/RequestedPermission.java
// public class RequestedPermission {
//     private String mName;
//     private boolean mGranted;
// 
//     public RequestedPermission(String mName, boolean mGranted) {
//         this.mGranted = mGranted;
//         this.mName = mName;
//     }
// 
//     public boolean isGranted() {
//         return mGranted;
//     }
// 
//     public String getName() {
//         return mName;
//     }
// }


// Path: app/src/main/java/com/livingstoneapp/adapters/RequestedPermissionsAdapter.java
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.List;
import butterknife.Bind;
import butterknife.ButterKnife;
import com.livingstoneapp.R;
import com.livingstoneapp.helpers.RecyclerViewOnClickListener;
import com.livingstoneapp.helpers.RecyclerViewOnClickListenerInternal;
import com.livingstoneapp.models.RequestedPermission;

package com.livingstoneapp.adapters;




/**
 * Created by renier on 2/17/2016.
 */
public class RequestedPermissionsAdapter extends RecyclerView.Adapter<RequestedPermissionsAdapter.ViewHolder> {

    private RecyclerViewOnClickListener<RequestedPermission> mListener;


    protected List<RequestedPermission> mData;

    public RequestedPermissionsAdapter(List<RequestedPermission> data) {
        mData = data;
    }

    public void setOnClickListener(RecyclerViewOnClickListener<RequestedPermission> listener) {
        this.mListener = listener;
    }

    @Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {