| | |
| | | return null; |
| | | } |
| | | if (mLoadMoreFooterView == null) { |
| | | mLoadMoreFooterView = View.inflate(mContext, R.layout.loading_alert, null); |
| | | mLoadMoreFooterView = View.inflate(mContext, R.layout.loading_more, null); |
| | | mLoadMoreFooterView.setBackgroundColor(Color.TRANSPARENT); |
| | | if (mLoadMoreBackgroundColorRes != -1) { |
| | | mLoadMoreFooterView.setBackgroundResource(mLoadMoreBackgroundColorRes); |
| | |
| | | if (mLoadMoreBackgroundDrawableRes != -1) { |
| | | mLoadMoreFooterView.setBackgroundResource(mLoadMoreBackgroundDrawableRes); |
| | | } |
| | | mFooterStatusTv = (TextView) mLoadMoreFooterView.findViewById(R.id.load_content_tv); |
| | | mFooterChrysanthemumIv = (ImageView) mLoadMoreFooterView.findViewById(R.id.load_pb); |
| | | mFooterStatusTv = (TextView) mLoadMoreFooterView.findViewById(R.id.load_more_content_tv); |
| | | mFooterChrysanthemumIv = (ImageView) mLoadMoreFooterView.findViewById(R.id.load_more_iv); |
| | | mFooterChrysanthemumIv.setBackground(mContext.getDrawable(R.drawable.progress_small)); |
| | | mFooterChrysanthemumAd = (AnimationDrawable) mFooterChrysanthemumIv.getDrawable(); |
| | | mFooterStatusTv.setText(mLodingMoreText); |