StackOverflowError:android.view.View.jumpDrawablesToCurrentState

ViewPager的时候,出现了这个问题,



经过搜索发现,是由于在inflate布局文件的时候出的问题,在fragment加载布局时,

inflater.inflate(R.layout.fragment,container,false);
第三个参数需要加上,具体什么原因待查找


猜你喜欢

转载自blog.csdn.net/cdye_1234/article/details/55211777