// Path: src/com/abewy/android/apps/contacts/adapter/holder/TitleTextHolder.java
// public class TitleTextHolder
// {
// 	public final TextView	primaryText;
// 	public final TextView	secondaryText;
// 
// 	public TitleTextHolder(TextView primaryText, TextView secondaryText)
// 	{
// 		this.primaryText = primaryText;
// 		this.secondaryText = secondaryText;
// 	}
// }
// 
// Path: src/com/abewy/android/apps/contacts/model/ContactEmail.java
// public class ContactEmail extends BaseContact
// {
// 	public final String email;
// 	public final int type;
// 	public final String label;
// 	
// 	public ContactEmail(String email, int type)
// 	{
// 		this(email, type, "");
// 	}
// 	
// 	public ContactEmail(String email, int type, String label)
// 	{
// 		this.email = email;
// 		this.type = type;
// 		this.label = label;
// 	}
// 
// 	@Override
// 	public int getItemViewType()
// 	{
// 		return ObjectType.CONTACT_EMAIL;
// 	}
// 
// 	@Override
// 	public String getItemPrimaryLabel()
// 	{
// 		return email;
// 	}
// }
// 
// Path: libs_external/Abewy_Extended/src/com/abewy/android/extended/items/BaseType.java
// public abstract class BaseType
// {
// 	public static final int	HEADER			= 1;
// 	public static final int	PROGRESS		= 2;
// 	public static final int	TEXT_BUTTON		= 3;
// 	public static final int	TEXT			= 4;
// 	public static final int	TITLE			= 5;
// 	public static final int	TITLE_TEXT		= 6;
// 	public static final int	TITLE_TWO_ITEM	= 7;
// 
// 	/**
// 	 * Return an unique data type to associate with a list view item
// 	 */
// 	public abstract int getItemViewType();
// 
// 	public abstract String getItemPrimaryLabel();
// }


import android.provider.ContactsContract.CommonDataKinds.Email;
import android.view.View;
import android.widget.TextView;
import com.abewy.android.apps.contacts.R;
import com.abewy.android.apps.contacts.adapter.holder.TitleTextHolder;
import com.abewy.android.apps.contacts.model.ContactEmail;
import com.abewy.android.extended.items.BaseType;
package com.abewy.android.apps.contacts.adapter;


public class ContactEmailAdapter extends ContactBaseAdapter
{
	public ContactEmailAdapter()
	{
		super();
	}

	@Override
	protected int getLayoutRes()
	{
		return R.layout.item_title_text;
	}

	@Override
	protected void attachViewHolder(View view)
	{
		TextView primaryText = (TextView) view.findViewById(R.id.primary_text);
		TextView secondaryText = (TextView) view.findViewById(R.id.secondary_text);

		setHolder(view, new TitleTextHolder(primaryText, secondaryText));
	}

	@Override
	public void bindData(View view, BaseType data, int position)
	{
		final TitleTextHolder holder = (TitleTextHolder) getHolder(view);

// Path: src/com/abewy/android/apps/contacts/adapter/holder/TitleTextHolder.java
// public class TitleTextHolder
// {
// 	public final TextView	primaryText;
// 	public final TextView	secondaryText;
// 
// 	public TitleTextHolder(TextView primaryText, TextView secondaryText)
// 	{
// 		this.primaryText = primaryText;
// 		this.secondaryText = secondaryText;
// 	}
// }
// 
// Path: src/com/abewy/android/apps/contacts/model/ContactEmail.java
// public class ContactEmail extends BaseContact
// {
// 	public final String email;
// 	public final int type;
// 	public final String label;
// 	
// 	public ContactEmail(String email, int type)
// 	{
// 		this(email, type, "");
// 	}
// 	
// 	public ContactEmail(String email, int type, String label)
// 	{
// 		this.email = email;
// 		this.type = type;
// 		this.label = label;
// 	}
// 
// 	@Override
// 	public int getItemViewType()
// 	{
// 		return ObjectType.CONTACT_EMAIL;
// 	}
// 
// 	@Override
// 	public String getItemPrimaryLabel()
// 	{
// 		return email;
// 	}
// }
// 
// Path: libs_external/Abewy_Extended/src/com/abewy/android/extended/items/BaseType.java
// public abstract class BaseType
// {
// 	public static final int	HEADER			= 1;
// 	public static final int	PROGRESS		= 2;
// 	public static final int	TEXT_BUTTON		= 3;
// 	public static final int	TEXT			= 4;
// 	public static final int	TITLE			= 5;
// 	public static final int	TITLE_TEXT		= 6;
// 	public static final int	TITLE_TWO_ITEM	= 7;
// 
// 	/**
// 	 * Return an unique data type to associate with a list view item
// 	 */
// 	public abstract int getItemViewType();
// 
// 	public abstract String getItemPrimaryLabel();
// }


// Path: src/com/abewy/android/apps/contacts/adapter/ContactEmailAdapter.java
import android.provider.ContactsContract.CommonDataKinds.Email;
import android.view.View;
import android.widget.TextView;
import com.abewy.android.apps.contacts.R;
import com.abewy.android.apps.contacts.adapter.holder.TitleTextHolder;
import com.abewy.android.apps.contacts.model.ContactEmail;
import com.abewy.android.extended.items.BaseType;

package com.abewy.android.apps.contacts.adapter;


public class ContactEmailAdapter extends ContactBaseAdapter
{
	public ContactEmailAdapter()
	{
		super();
	}

	@Override
	protected int getLayoutRes()
	{
		return R.layout.item_title_text;
	}

	@Override
	protected void attachViewHolder(View view)
	{
		TextView primaryText = (TextView) view.findViewById(R.id.primary_text);
		TextView secondaryText = (TextView) view.findViewById(R.id.secondary_text);

		setHolder(view, new TitleTextHolder(primaryText, secondaryText));
	}

	@Override
	public void bindData(View view, BaseType data, int position)
	{
		final TitleTextHolder holder = (TitleTextHolder) getHolder(view);

		final ContactEmail email = ((ContactEmail) data);