FileDocCategorySizeDatePackage
ListItemFocusablesFarApart.javaAPI DocAndroid 5.1 API1474Thu Mar 12 22:22:12 GMT 2015android.widget.listview

ListItemFocusablesFarApart

public 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.

Fields Summary
Constructors Summary
Methods Summary
protected android.view.ViewcreateView(int position, android.view.ViewGroup parent, int desiredHeight)

        return ListItemFactory.twoButtonsSeparatedByFiller(
                position, parent.getContext(), desiredHeight);
    
protected voidinit(Params params)

        params.setItemsFocusable(true)
                .setNumItems(2)
                .setItemScreenSizeFactor(2);