Skip to content

Instantly share code, notes, and snippets.

public View getView(int position, View convertView, ViewGroup parent) {
ListViewHolder holder = ListViewHolder.get(convertView, parent);
holder.name.setText("some text");
return holder.root; // or convertView
}
public class ListViewHolder {

Keybase proof

I hereby claim:

  • I am scottagarman on github.
  • I am sgarman (https://keybase.io/sgarman) on keybase.
  • I have a public key whose fingerprint is FF27 526F AD6C 6CBE 2809 780C 7311 5FF7 10A7 63A9

To claim this, I am signing this object: