// Path: app/src/main/java/io/dwak/holohackernews/app/models/AboutLicense.java
// public class AboutLicense {
//     public final int nameResId;
//     public final int licenseResId;
// 
//     public AboutLicense(int nameResId, int license) {
//         this.nameResId = nameResId;
//         this.licenseResId = license;
//     }
// }


import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
import io.dwak.holohackernews.app.models.AboutLicense;
package io.dwak.holohackernews.app.ui.about;




public class AboutAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
    List<AboutItem> mList;

    public AboutAdapter() {
        mList = new ArrayList<>();
    }

    public void addHeader() {
        mList.add(0, new AboutItem<>(null, AboutItem.HEADER));
        notifyItemInserted(0);
    }

// Path: app/src/main/java/io/dwak/holohackernews/app/models/AboutLicense.java
// public class AboutLicense {
//     public final int nameResId;
//     public final int licenseResId;
// 
//     public AboutLicense(int nameResId, int license) {
//         this.nameResId = nameResId;
//         this.licenseResId = license;
//     }
// }


// Path: app/src/main/java/io/dwak/holohackernews/app/ui/about/AboutAdapter.java
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
import io.dwak.holohackernews.app.models.AboutLicense;

package io.dwak.holohackernews.app.ui.about;




public class AboutAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
    List<AboutItem> mList;

    public AboutAdapter() {
        mList = new ArrayList<>();
    }

    public void addHeader() {
        mList.add(0, new AboutItem<>(null, AboutItem.HEADER));
        notifyItemInserted(0);
    }

    public void addLicense(AboutLicense aboutLicense) {