| | |
| | | ll_notice.setVisibility(View.GONE); |
| | | iv_close = contentView.findViewById(R.id.iv_left); |
| | | tv_no_data_hint = contentView.findViewById(R.id.tv_no_data_hint); |
| | | iv_no_data = contentView.findViewById(R.id.iv_no_data); |
| | | if ("7".equalsIgnoreCase(cate)) { |
| | | tv_no_data_hint.setText("哎呀,发圈内容都被抢光了~"); |
| | | } else if ("8".equalsIgnoreCase(cate)) { |
| | | tv_no_data_hint.setText("哎呀,素材正在赶来的路上~"); |
| | | } |
| | | iv_no_data.setImageDrawable(null); |
| | | iv_no_data.setBackground(getActivity().getResources().getDrawable(R.drawable.iv_no_send_circle)); |
| | | /**小黄条*/ |
| | | getAppPageNotification(); |
| | | |
| | |
| | | page++; |
| | | isLoad = false; |
| | | iv_loading.setVisibility(View.VISIBLE); |
| | | tv_loading.setText("正在加载更多数据"); |
| | | tv_loading.setText(getResources().getString(R.string.loading_more_text)); |
| | | getContentList(); |
| | | } |
| | | } |
| | |
| | | super.onStart(); |
| | | if (!pd.isShowing()) |
| | | pd.show(); |
| | | |
| | | } |
| | | |
| | | @Override |
| | |
| | | if (list.length() > 0) { |
| | | //保存图片 |
| | | String rootPath = android.os.Environment.getExternalStorageDirectory() |
| | | + "/blksapp"; |
| | | + "/tejiaapp"; |
| | | File rootFile = new File(rootPath); |
| | | if (!rootFile.exists()) { |
| | | rootFile.mkdirs(); |
| | |
| | | if (!pd.isShowing()) |
| | | pd.show(); |
| | | Long uid = UserUtil.getUid(getContext()); |
| | | ShoppingApi.getTaoBaoAuthInfo(getContext(), uid + "", null, "share", true, new BasicTextHttpResponseHandler() { |
| | | ShoppingApi.getTaoBaoAuthInfo(getContext(), uid , null, "share", true, new BasicTextHttpResponseHandler() { |
| | | @Override |
| | | public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception { |
| | | if (jsonObject.optInt("code") == 0) { |