pager getIndexLength()死循环　bug