android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:6690)

本章转至原文在这里

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


android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:6690)

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

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