Closed lixplor closed 7 years ago
ViewPager setAdapter时StackOverFlow
原因: 可能是ViewPager的PagerAdapter中instantiateItem()方法中inflate了布局, 在inflate时不要传入container 解决: View view = View.inflate(container.getContext(), R.layout.page_list, null);
ViewPager setAdapter时StackOverFlow