// Path: app/src/main/java/link/standen/michael/fatesheets/model/Character.java
// public abstract class Character implements Serializable {
// 
// 	public static final String INTENT_EXTRA_NAME = "Character";
// 
// 	private String sheetType;
// 	private String name;
// 	private String description;
// 	private Integer fatePoints;
// 	private String highConcept;
// 	private String trouble;
// 	private List<String> aspects;
// 	private List<String> stunts;
// 	private List<Consequence> consequences;
// 
// 	public Character(String name){
// 		this.name = name;
// 		fatePoints = 3;
// 		aspects = new ArrayList<>();
// 		stunts = new ArrayList<>();
// 		consequences = new ArrayList<>();
// 		consequences.add(new Consequence(2));
// 		consequences.add(new Consequence(4));
// 		consequences.add(new Consequence(6));
// 	}
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public String getDescription() {
// 		return description;
// 	}
// 
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 
// 	public String getHighConcept() {
// 		return highConcept;
// 	}
// 
// 	public void setHighConcept(String highConcept) {
// 		this.highConcept = highConcept;
// 	}
// 
// 	public String getTrouble() {
// 		return trouble;
// 	}
// 
// 	public void setTrouble(String trouble) {
// 		this.trouble = trouble;
// 	}
// 
// 	public List<String> getAspects() {
// 		return aspects;
// 	}
// 
// 	public void setAspects(List<String> aspects) {
// 		this.aspects = aspects;
// 	}
// 
// 	public List<String> getStunts() {
// 		return stunts;
// 	}
// 
// 	public void setStunts(List<String> stunts) {
// 		this.stunts = stunts;
// 	}
// 
// 	public List<Consequence> getConsequences() {
// 		return consequences;
// 	}
// 
// 	public void setConsequences(List<Consequence> consequences) {
// 		this.consequences = consequences;
// 	}
// 
// 	public Integer getFatePoints() {
// 		return fatePoints;
// 	}
// 
// 	public void setFatePoints(Integer fatePoints) {
// 		this.fatePoints = fatePoints;
// 	}
// 
// 	public void incrementFatePoints() {
// 		fatePoints++;
// 	}
// 	public void decrementFatePoints() {
// 		fatePoints--;
// 	}
// 
// 	public abstract String getSheetType();
// 
// 	public void setSheetType(String sheetType) {
// 		this.sheetType = sheetType;
// 	}
// }


import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import link.standen.michael.fatesheets.R;
import link.standen.michael.fatesheets.model.Character;
package link.standen.michael.fatesheets.fragment;



/**
 * A fragment for managing a characters description.
 */
public class CharacterEditDescriptionFragment extends CharacterEditAbstractFragment {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
							 Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.character_edit_description, container, false);

		Character character = getCharacter();

		// Name
		TextView view = (TextView) rootView.findViewById(R.id.name);
		view.addTextChangedListener(new TextWatcher() {
			@Override
// Path: app/src/main/java/link/standen/michael/fatesheets/model/Character.java
// public abstract class Character implements Serializable {
// 
// 	public static final String INTENT_EXTRA_NAME = "Character";
// 
// 	private String sheetType;
// 	private String name;
// 	private String description;
// 	private Integer fatePoints;
// 	private String highConcept;
// 	private String trouble;
// 	private List<String> aspects;
// 	private List<String> stunts;
// 	private List<Consequence> consequences;
// 
// 	public Character(String name){
// 		this.name = name;
// 		fatePoints = 3;
// 		aspects = new ArrayList<>();
// 		stunts = new ArrayList<>();
// 		consequences = new ArrayList<>();
// 		consequences.add(new Consequence(2));
// 		consequences.add(new Consequence(4));
// 		consequences.add(new Consequence(6));
// 	}
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public String getDescription() {
// 		return description;
// 	}
// 
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 
// 	public String getHighConcept() {
// 		return highConcept;
// 	}
// 
// 	public void setHighConcept(String highConcept) {
// 		this.highConcept = highConcept;
// 	}
// 
// 	public String getTrouble() {
// 		return trouble;
// 	}
// 
// 	public void setTrouble(String trouble) {
// 		this.trouble = trouble;
// 	}
// 
// 	public List<String> getAspects() {
// 		return aspects;
// 	}
// 
// 	public void setAspects(List<String> aspects) {
// 		this.aspects = aspects;
// 	}
// 
// 	public List<String> getStunts() {
// 		return stunts;
// 	}
// 
// 	public void setStunts(List<String> stunts) {
// 		this.stunts = stunts;
// 	}
// 
// 	public List<Consequence> getConsequences() {
// 		return consequences;
// 	}
// 
// 	public void setConsequences(List<Consequence> consequences) {
// 		this.consequences = consequences;
// 	}
// 
// 	public Integer getFatePoints() {
// 		return fatePoints;
// 	}
// 
// 	public void setFatePoints(Integer fatePoints) {
// 		this.fatePoints = fatePoints;
// 	}
// 
// 	public void incrementFatePoints() {
// 		fatePoints++;
// 	}
// 	public void decrementFatePoints() {
// 		fatePoints--;
// 	}
// 
// 	public abstract String getSheetType();
// 
// 	public void setSheetType(String sheetType) {
// 		this.sheetType = sheetType;
// 	}
// }


// Path: app/src/main/java/link/standen/michael/fatesheets/fragment/CharacterEditDescriptionFragment.java
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import link.standen.michael.fatesheets.R;
import link.standen.michael.fatesheets.model.Character;

package link.standen.michael.fatesheets.fragment;



/**
 * A fragment for managing a characters description.
 */
public class CharacterEditDescriptionFragment extends CharacterEditAbstractFragment {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
							 Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.character_edit_description, container, false);

		Character character = getCharacter();

		// Name
		TextView view = (TextView) rootView.findViewById(R.id.name);
		view.addTextChangedListener(new TextWatcher() {
			@Override
			public void beforeTextChanged(CharSequence s, int start, int count, int after) {}