// Path: app/src/main/java/com/hackgsu/fall2016/android/DataStore.java
// public class DataStore {
// 	private static ArrayList<AboutPerson> aboutPeople;
// 	private static ArrayList<Announcement> announcements = new ArrayList<>();
// 	private static String openingCeremoniesRoomNumber;
// 	private static ArrayList<ScheduleEvent> scheduleEvents = new ArrayList<>();
// 
// 	static {
// 		aboutPeople = new ArrayList<>();
// 
// 		aboutPeople.add(new AboutPerson("Alex Mitchell", "iOS Developer", "https://goo.gl/cHty7J", R.drawable.alex_pic));
// 		aboutPeople.add(new AboutPerson("Viraj Shah", "iOS Developer", "https://goo.gl/v5YZaL", R.drawable.viraj_pic));
// 		aboutPeople.add(new AboutPerson("Harsha Goli", "iOS Developer", "https://goo.gl/UCVv11", R.drawable.harsha_pic));
// 		aboutPeople.add(new AboutPerson("Dylan Welch", "iOS Developer", "https://goo.gl/8RDDyo", R.drawable.dylan_pic));
// 		aboutPeople.add(new AboutPerson("Josh King", "Android Developer", "https://goo.gl/Izv7vk", R.drawable.josh_pic));
// 		aboutPeople.add(new AboutPerson("Pranathi Venigandla", "Android Developer", "https://goo.gl/S8KP2A", R.drawable.pranathi_pic));
// 		aboutPeople.add(new AboutPerson("Solomon Arnett", "Web Developer", "https://goo.gl/QbIimx", R.drawable.solo_pic));
// 		aboutPeople.add(new AboutPerson("Sri Rajasekaran", "Web Developer", "https://goo.gl/7GZoGB", R.drawable.sri_pic));
// 		aboutPeople.add(new AboutPerson("Abhinav Reddy", "Web Developer", "https://goo.gl/PSCYbR", R.drawable.abhinav_pic));
// 	}
// 
// 	public static ArrayList<AboutPerson> getAboutPeople () {
// 		return aboutPeople;
// 	}
// 
// 	public static ArrayList<Announcement> getAnnouncements (boolean onlyReturnBookmarkedAnnouncements) {
// 		if (!onlyReturnBookmarkedAnnouncements) { return getAnnouncements(); }
// 
// 		ArrayList<Announcement> filteredAnnouncements = new ArrayList<>();
// 		for (Announcement announcement : getAnnouncements()) { if (announcement.isBookmarkedByMe()) { filteredAnnouncements.add(announcement); } }
// 		Collections.sort(filteredAnnouncements);
// 		return filteredAnnouncements;
// 	}
// 
// 	public static ArrayList<Announcement> getAnnouncements () {
// 		return announcements;
// 	}
// 
// 	public static String getOpeningCeremoniesRoomNumber () {
// 		return openingCeremoniesRoomNumber;
// 	}
// 
// 	public static ArrayList<ScheduleEvent> getScheduleEvents () {
// 		return scheduleEvents;
// 	}
// 
// 	public static void setAnnouncements (Context context, ArrayList<Announcement> announcements) {
// 		Collections.sort(announcements);
// 		AnnouncementController.setIsBookmarkedByMeBasedOnPrefs(context, announcements);
// 		AnnouncementController.setIsLikedByMeBasedOnPrefs(context, announcements);
// 		DataStore.announcements = announcements;
// 	}
// 
// 	public static void setOpeningCeremoniesRoomNumber (String openingCeremoniesRoomNumber) {
// 		DataStore.openingCeremoniesRoomNumber = openingCeremoniesRoomNumber;
// 	}
// 
// 	public static void setScheduleEvents (ArrayList<ScheduleEvent> scheduleEvents) {
// 		DataStore.scheduleEvents = scheduleEvents;
// 	}
// }
// 
// Path: app/src/main/java/com/hackgsu/fall2016/android/model/AboutPerson.java
// public class AboutPerson {
//     private final String name;
//     private final String role;
//     private final String linkedInUrl;
//     private
//     @DrawableRes
//     int picture;
// 
//     public AboutPerson(String name, String role, String linkedInUrl, int picture) {
//         this.name = name;
//         this.role = role;
//         this.linkedInUrl = linkedInUrl;
//         this.picture = picture;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public String getRole() {
//         return role;
//     }
// 
//     public String getLinkedInUrl() {
//         return linkedInUrl;
//     }
// 
//     public int getPicture() { return picture; }
// }


import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.hackgsu.fall2016.android.DataStore;
import com.hackgsu.fall2016.android.R;
import com.hackgsu.fall2016.android.model.AboutPerson;
package com.hackgsu.fall2016.android.views;


public class AboutRecyclerView extends ThemedEmptyStateRecyclerView {
    private AboutAdapter      adapter;
    private GridLayoutManager layoutManager;

    public AboutRecyclerView(Context context) {
        super(context);
        init(null, 0);
    }

    public AboutRecyclerView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(attrs, 0);
    }

    public AboutRecyclerView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        init(attrs, defStyle);
    }

    public class AboutAdapter extends Adapter<AboutViewHolder> {
        @Override
        public AboutViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
            View cardView = View.inflate(getContext(), R.layout.about_person_card, null);
            return new AboutViewHolder(cardView);
        }

        @Override
        public void onBindViewHolder(AboutViewHolder holder, int position) {
// Path: app/src/main/java/com/hackgsu/fall2016/android/DataStore.java
// public class DataStore {
// 	private static ArrayList<AboutPerson> aboutPeople;
// 	private static ArrayList<Announcement> announcements = new ArrayList<>();
// 	private static String openingCeremoniesRoomNumber;
// 	private static ArrayList<ScheduleEvent> scheduleEvents = new ArrayList<>();
// 
// 	static {
// 		aboutPeople = new ArrayList<>();
// 
// 		aboutPeople.add(new AboutPerson("Alex Mitchell", "iOS Developer", "https://goo.gl/cHty7J", R.drawable.alex_pic));
// 		aboutPeople.add(new AboutPerson("Viraj Shah", "iOS Developer", "https://goo.gl/v5YZaL", R.drawable.viraj_pic));
// 		aboutPeople.add(new AboutPerson("Harsha Goli", "iOS Developer", "https://goo.gl/UCVv11", R.drawable.harsha_pic));
// 		aboutPeople.add(new AboutPerson("Dylan Welch", "iOS Developer", "https://goo.gl/8RDDyo", R.drawable.dylan_pic));
// 		aboutPeople.add(new AboutPerson("Josh King", "Android Developer", "https://goo.gl/Izv7vk", R.drawable.josh_pic));
// 		aboutPeople.add(new AboutPerson("Pranathi Venigandla", "Android Developer", "https://goo.gl/S8KP2A", R.drawable.pranathi_pic));
// 		aboutPeople.add(new AboutPerson("Solomon Arnett", "Web Developer", "https://goo.gl/QbIimx", R.drawable.solo_pic));
// 		aboutPeople.add(new AboutPerson("Sri Rajasekaran", "Web Developer", "https://goo.gl/7GZoGB", R.drawable.sri_pic));
// 		aboutPeople.add(new AboutPerson("Abhinav Reddy", "Web Developer", "https://goo.gl/PSCYbR", R.drawable.abhinav_pic));
// 	}
// 
// 	public static ArrayList<AboutPerson> getAboutPeople () {
// 		return aboutPeople;
// 	}
// 
// 	public static ArrayList<Announcement> getAnnouncements (boolean onlyReturnBookmarkedAnnouncements) {
// 		if (!onlyReturnBookmarkedAnnouncements) { return getAnnouncements(); }
// 
// 		ArrayList<Announcement> filteredAnnouncements = new ArrayList<>();
// 		for (Announcement announcement : getAnnouncements()) { if (announcement.isBookmarkedByMe()) { filteredAnnouncements.add(announcement); } }
// 		Collections.sort(filteredAnnouncements);
// 		return filteredAnnouncements;
// 	}
// 
// 	public static ArrayList<Announcement> getAnnouncements () {
// 		return announcements;
// 	}
// 
// 	public static String getOpeningCeremoniesRoomNumber () {
// 		return openingCeremoniesRoomNumber;
// 	}
// 
// 	public static ArrayList<ScheduleEvent> getScheduleEvents () {
// 		return scheduleEvents;
// 	}
// 
// 	public static void setAnnouncements (Context context, ArrayList<Announcement> announcements) {
// 		Collections.sort(announcements);
// 		AnnouncementController.setIsBookmarkedByMeBasedOnPrefs(context, announcements);
// 		AnnouncementController.setIsLikedByMeBasedOnPrefs(context, announcements);
// 		DataStore.announcements = announcements;
// 	}
// 
// 	public static void setOpeningCeremoniesRoomNumber (String openingCeremoniesRoomNumber) {
// 		DataStore.openingCeremoniesRoomNumber = openingCeremoniesRoomNumber;
// 	}
// 
// 	public static void setScheduleEvents (ArrayList<ScheduleEvent> scheduleEvents) {
// 		DataStore.scheduleEvents = scheduleEvents;
// 	}
// }
// 
// Path: app/src/main/java/com/hackgsu/fall2016/android/model/AboutPerson.java
// public class AboutPerson {
//     private final String name;
//     private final String role;
//     private final String linkedInUrl;
//     private
//     @DrawableRes
//     int picture;
// 
//     public AboutPerson(String name, String role, String linkedInUrl, int picture) {
//         this.name = name;
//         this.role = role;
//         this.linkedInUrl = linkedInUrl;
//         this.picture = picture;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public String getRole() {
//         return role;
//     }
// 
//     public String getLinkedInUrl() {
//         return linkedInUrl;
//     }
// 
//     public int getPicture() { return picture; }
// }


// Path: app/src/main/java/com/hackgsu/fall2016/android/views/AboutRecyclerView.java
import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.hackgsu.fall2016.android.DataStore;
import com.hackgsu.fall2016.android.R;
import com.hackgsu.fall2016.android.model.AboutPerson;

package com.hackgsu.fall2016.android.views;


public class AboutRecyclerView extends ThemedEmptyStateRecyclerView {
    private AboutAdapter      adapter;
    private GridLayoutManager layoutManager;

    public AboutRecyclerView(Context context) {
        super(context);
        init(null, 0);
    }

    public AboutRecyclerView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(attrs, 0);
    }

    public AboutRecyclerView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        init(attrs, defStyle);
    }

    public class AboutAdapter extends Adapter<AboutViewHolder> {
        @Override
        public AboutViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
            View cardView = View.inflate(getContext(), R.layout.about_person_card, null);
            return new AboutViewHolder(cardView);
        }

        @Override
        public void onBindViewHolder(AboutViewHolder holder, int position) {
            holder.loadPerson(DataStore.getAboutPeople().get(position));