| | |
| | | |
| | | |
| | | private void init() { |
| | | ((FrameLayout) mAquery.id(R.id.fl_search).getView()).setBackground(HomeUIUtil.getHomeTopBg("#FF227B", "#FF2A3E")); |
| | | ((FrameLayout) mAquery.id(R.id.fl_search).getView()).setBackground(HomeUIUtil.getHomeTopBg(getContext())); |
| | | mCategory = (TrendsCategory) getArguments().getSerializable("category"); |
| | | cId = getArguments().getString("cid", "0"); |
| | | cate = getArguments().getString("cate"); |
| | |
| | | page++; |
| | | isLoad = false; |
| | | iv_loading.setVisibility(View.VISIBLE); |
| | | tv_loading.setText("正在加载更多数据"); |
| | | tv_loading.setText(getResources().getString(R.string.loading_more_text)); |
| | | getContentList(); |
| | | } |
| | | } |
| | |
| | | if (list.length() > 0) { |
| | | //保存图片 |
| | | String rootPath = android.os.Environment.getExternalStorageDirectory() |
| | | + "/blksapp"; |
| | | + "/tejiaapp"; |
| | | File rootFile = new File(rootPath); |
| | | if (!rootFile.exists()) { |
| | | rootFile.mkdirs(); |