Mark.lin
Results
2
comments of
Mark.lin
额。。。。我没把代码贴全,肯定是有吧mPtrFrameLayout加到ViewGroup里面的。后来我找到真正原因了,自己改了下 public class PtrSwipeRefreshLayout extends PtrFrameLayout { public PtrSwipeRefreshLayout(Context context) { super(context); init(); } private void init() { // header final MaterialHeader header = new MaterialHeader(getContext()); int[] colors = getResources().getIntArray(R.array.google_colors);...
super.onFinishInflate();动态添加view,是不会回调到onFinishInflate()的