Created
June 8, 2012 15:43
-
-
Save condesa/2896250 to your computer and use it in GitHub Desktop.
Método getView de un ArrayAdapter en Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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