Lines Matching refs:position
40 protected View createView(int position, ViewGroup parent, int desiredHeight) {
41 switch (position % 3) {
44 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
47 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
57 public View convertView(int position, View convertView, ViewGroup parent) {
58 switch (position % 3) {
60 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position);
62 return ListItemFactory.convertButton(convertView, getValueAtPosition(position),
63 position);
65 return ListItemFactory.convertDoubleText(convertView, getValueAtPosition(position),
66 position);
73 public int getItemViewType(int position) {
74 return position % 3;