Skip to content

Instantly share code, notes, and snippets.

@condesa
Created June 8, 2012 15:43
Show Gist options
  • Save condesa/2896250 to your computer and use it in GitHub Desktop.
Save condesa/2896250 to your computer and use it in GitHub Desktop.
Método getView de un ArrayAdapter en Android
public View getView(int position, View convertView, ViewGroup parent){
if(convertView==null){
convertView = new TextView(this);
}
convertView.setText(buildStringFor(position));
return(convertView);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment