public static class LinearLayoutInfo.ViewportFiller extends Object implements LayoutInfo.ViewportFiller
LayoutInfo.ViewportFiller
which fills the viewport by laying
out items sequentially.Constructor and Description |
---|
ViewportFiller(int width,
int height,
int orientation) |
Modifier and Type | Method and Description |
---|---|
void |
add(RenderInfo renderInfo,
int width,
int height)
This will be called to inform implementations that the next layout has been computed.
|
boolean |
wantsMore()
Implementations should return true if they need more views to be computed in order to fill
the screen.
|
public boolean wantsMore()
LayoutInfo.ViewportFiller
wantsMore
in interface LayoutInfo.ViewportFiller
public void add(RenderInfo renderInfo, int width, int height)
LayoutInfo.ViewportFiller
LayoutInfo.ViewportFiller.wantsMore()
add
in interface LayoutInfo.ViewportFiller