/** * 返回空闲状态下的视图层级中,当前页面任何一侧保存的页面数量,默认是1 * Returns the number of pages that will be retained to either side of the * current page in the view hierarchy in an idle state. Defaults to 1. * *
@return How many pages will be kept offscreen on either side *
@see #setOffscreenPageLimit(int) */public int getOffscreenPageLimit() { return mOffscreenPageLimit;}