ListItemFocusablesFarApartpublic class ListItemFocusablesFarApart extends android.util.ListScenario A list where each item is tall with buttons that are farther apart than the screen
size. We don't want to jump over content off screen to the next button, we need to
pan across the intermediate part. |
Methods Summary |
---|
protected android.view.View | createView(int position, android.view.ViewGroup parent, int desiredHeight)
return ListItemFactory.twoButtonsSeparatedByFiller(
position, parent.getContext(), desiredHeight);
| protected void | init(Params params)
params.setItemsFocusable(true)
.setNumItems(2)
.setItemScreenSizeFactor(2);
|
|