Back to project page Vispin.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. ...
If you think the Android project Vispin listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jpardogo.vispin.adapters; /*from w w w . j a v a2s . c o m*/ import android.content.Context; import android.location.Address; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import com.jpardogo.vispin.R; import com.jpardogo.vispin.models.ListItem; import org.w3c.dom.Text; import butterknife.InjectView; /** * Created by jpardogo on 24/07/2014. */ public class PinsAdapter extends BaseAllAdapters<String> { public PinsAdapter(Context context, int viewLayoutId) { super(context, viewLayoutId); } @Override protected void initDelegates() { } @Override protected void bindView(int position, View convertView, ListItem<String> item, ViewHolder parentHolder) { ViewHolderAddresses holder = (ViewHolderAddresses) parentHolder; holder.text.setText(getItem(position).getItem()); } @Override protected ViewHolder getHolderInstance(View view) { return new ViewHolderAddresses(view); } static class ViewHolderAddresses extends ViewHolder{ @InjectView(R.id.text) TextView text; public ViewHolderAddresses(View view) { super(view); } } }