if (position == 0) { return ListItemFactory.button( position, parent.getContext(), getValueAtPosition(position), desiredHeight); } else { return super.createView(position, parent, desiredHeight); }
params.setNumItems(2) .setItemsFocusable(true) .setItemScreenSizeFactor(0.2) .setMustFillScreen(false);