Skip to content

Commit

Permalink
fix the builder version bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tangxianqiang committed Aug 10, 2018
1 parent cc18249 commit 14b189e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ private void init(Context context, AttributeSet attrs, int defStyleAttr) {
FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT
,childHeight);
addView(view,lp);
pbFooterTip = view.findViewById(R.id.pb_loading);
ivFooterTip = view.findViewById(R.id.iv_tip);
tvFooterTip = view.findViewById(R.id.tv_tip);
pbFooterTip = (ProgressBar) view.findViewById(R.id.pb_loading);
ivFooterTip = (ImageView) view.findViewById(R.id.iv_tip);
tvFooterTip = (TextView) view.findViewById(R.id.tv_tip);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ protected void init(Context context, AttributeSet attrs, int defStyleAttr){
FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT
,childHeight);
addView(view,lp);
tvHeaderTip = view.findViewById(R.id.tv_tip);
pbRefreshing = view.findViewById(R.id.pb_refreshing);
ivHeaderTip = view.findViewById(R.id.iv_tip);
tvHeaderTip =(TextView) view.findViewById(R.id.tv_tip);
pbRefreshing = (ProgressBar) view.findViewById(R.id.pb_refreshing);
ivHeaderTip = (ImageView) view.findViewById(R.id.iv_tip);
}

/**
Expand Down

0 comments on commit 14b189e

Please sign in to comment.