public class PageStacker extends java.lang.Object implements Pageable.TransitionListener
Modifier and Type | Field and Description |
---|---|
protected Container |
mContainer |
protected Pageable |
mCurrentPage |
protected int |
mNumPages |
protected java.util.ArrayList<Pageable> |
mPages |
protected static java.lang.String |
TAG |
Constructor and Description |
---|
PageStacker(Container container) |
Modifier and Type | Method and Description |
---|---|
Container |
getContainer() |
int |
getNumPages() |
void |
onTransitionInComplete(Pageable page) |
void |
onTransitionOutComplete(Pageable page) |
Pageable |
popPage() |
boolean |
pushPage(Pageable page) |
protected static final java.lang.String TAG
protected Container mContainer
protected java.util.ArrayList<Pageable> mPages
protected int mNumPages
protected Pageable mCurrentPage
public PageStacker(Container container)
public boolean pushPage(Pageable page)
public Pageable popPage()
public int getNumPages()
public Container getContainer()
public void onTransitionInComplete(Pageable page)
onTransitionInComplete
in interface Pageable.TransitionListener
public void onTransitionOutComplete(Pageable page)
onTransitionOutComplete
in interface Pageable.TransitionListener