// Path: app/src/main/java/link/standen/michael/fatesheets/model/Approach.java
// public class Approach implements Serializable, Comparable<Approach> {
// 
// 	private String description;
// 	private Integer value;
// 
// 	public Approach(String description){
// 		this(description, 0);
// 	}
// 
// 	public Approach(String description, Integer value){
// 		this.description = description;
// 		this.value = value;
// 	}
// 
// 	public String getDescription() {
// 		return description;
// 	}
// 
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 
// 	public Integer getValue() {
// 		return value;
// 	}
// 
// 	public void setValue(Integer value) {
// 		this.value = value;
// 	}
// 
// 	@Override
// 	public int compareTo(@NonNull Approach other) {
// 		return this.description.compareTo(other.getDescription());
// 	}
// }


import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import android.widget.TextView;
import java.util.List;
import link.standen.michael.fatesheets.R;
import link.standen.michael.fatesheets.model.Approach;
package link.standen.michael.fatesheets.adapter;




/**
 * Manages a list of character approaches.
 */
public class ApproachArrayAdapter extends ArrayAdapter<Approach> {

	private static final String TAG = ApproachArrayAdapter.class.getName();

	private final Context context;
	private final int resourceId;
	private final List<Approach> items;

	public ApproachArrayAdapter(@NonNull Context context, @LayoutRes int resourceId, @NonNull List<Approach> items) {
		super(context, resourceId, items);

		this.context = context;
		this.resourceId = resourceId;
		this.items = items;
	}

// Path: app/src/main/java/link/standen/michael/fatesheets/model/Approach.java
// public class Approach implements Serializable, Comparable<Approach> {
// 
// 	private String description;
// 	private Integer value;
// 
// 	public Approach(String description){
// 		this(description, 0);
// 	}
// 
// 	public Approach(String description, Integer value){
// 		this.description = description;
// 		this.value = value;
// 	}
// 
// 	public String getDescription() {
// 		return description;
// 	}
// 
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 
// 	public Integer getValue() {
// 		return value;
// 	}
// 
// 	public void setValue(Integer value) {
// 		this.value = value;
// 	}
// 
// 	@Override
// 	public int compareTo(@NonNull Approach other) {
// 		return this.description.compareTo(other.getDescription());
// 	}
// }


// Path: app/src/main/java/link/standen/michael/fatesheets/adapter/ApproachArrayAdapter.java
import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import android.widget.TextView;
import java.util.List;
import link.standen.michael.fatesheets.R;
import link.standen.michael.fatesheets.model.Approach;

package link.standen.michael.fatesheets.adapter;




/**
 * Manages a list of character approaches.
 */
public class ApproachArrayAdapter extends ArrayAdapter<Approach> {

	private static final String TAG = ApproachArrayAdapter.class.getName();

	private final Context context;
	private final int resourceId;
	private final List<Approach> items;

	public ApproachArrayAdapter(@NonNull Context context, @LayoutRes int resourceId, @NonNull List<Approach> items) {
		super(context, resourceId, items);

		this.context = context;
		this.resourceId = resourceId;
		this.items = items;
	}

	public Approach getItem(int index){