// Path: app/src/main/java/top/soyask/calendarii/entity/OpenSource.java
// public class OpenSource implements Serializable {
// 
//     private String title;
//     private String detail;
//     private String url;
// 
//     public String getTitle() {
//         return title;
//     }
// 
//     public void setTitle(String title) {
//         this.title = title;
//     }
// 
//     public String getDetail() {
//         return detail;
//     }
// 
//     public void setDetail(String detail) {
//         this.detail = detail;
//     }
// 
//     public String getUrl() {
//         return url;
//     }
// 
//     public void setUrl(String url) {
//         this.url = url;
//     }
// }


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 top.soyask.calendarii.R;
import top.soyask.calendarii.entity.OpenSource;
package top.soyask.calendarii.ui.adapter.opensource;




/**
 * Created by mxf on 2017/10/29.
 */

public class OpenSourceAdapter extends RecyclerView.Adapter<OpenSourceAdapter.OpenSourceViewHolder> {

    private List<OpenSource> mOpenSources;
    private OnOpenSourceClickListener mOnOpenSourceClickListener;

// Path: app/src/main/java/top/soyask/calendarii/entity/OpenSource.java
// public class OpenSource implements Serializable {
// 
//     private String title;
//     private String detail;
//     private String url;
// 
//     public String getTitle() {
//         return title;
//     }
// 
//     public void setTitle(String title) {
//         this.title = title;
//     }
// 
//     public String getDetail() {
//         return detail;
//     }
// 
//     public void setDetail(String detail) {
//         this.detail = detail;
//     }
// 
//     public String getUrl() {
//         return url;
//     }
// 
//     public void setUrl(String url) {
//         this.url = url;
//     }
// }


// Path: app/src/main/java/top/soyask/calendarii/ui/adapter/opensource/OpenSourceAdapter.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 top.soyask.calendarii.R;
import top.soyask.calendarii.entity.OpenSource;

package top.soyask.calendarii.ui.adapter.opensource;




/**
 * Created by mxf on 2017/10/29.
 */

public class OpenSourceAdapter extends RecyclerView.Adapter<OpenSourceAdapter.OpenSourceViewHolder> {

    private List<OpenSource> mOpenSources;
    private OnOpenSourceClickListener mOnOpenSourceClickListener;

    public OpenSourceAdapter(List<OpenSource> openSources, OnOpenSourceClickListener onOpenSourceClickListener) {