| | |
| | | ll_request_failture = findViewById(R.id.ll_request_failture); |
| | | tv_no_data_hint = findViewById(R.id.tv_no_data_hint); |
| | | iv_no_data = findViewById(R.id.iv_no_data); |
| | | iv_no_data.setImageResource(R.drawable.ic_account_desc_null); |
| | | tv_no_data_hint.setGravity(Gravity.CENTER); |
| | | findViewById(R.id.tv_net_setting).setOnClickListener(this); |
| | | findViewById(R.id.tv_refresh).setOnClickListener(this); |
| | |
| | | int type = getIntent().getIntExtra("type", 0); |
| | | if (type == 1) { |
| | | tv_middle.setText("团队奖励"); |
| | | tv_no_data_hint.setText("只有你是超级会员且把直接或间接\n粉丝培养成超级会员后,才可以获\n得团队奖励哦!"); |
| | | } else if (type == 2) { |
| | | tv_middle.setText("团队补贴"); |
| | | tv_no_data_hint.setText("只有升级为会员才有团队补贴哦,\n你暂未满足。"); |
| | | } else if (type == 3) { |
| | | tv_middle.setText("导师津贴"); |
| | | tv_no_data_hint.setText("只有升级为导师才有导师津贴哦,\n你暂未满足。"); |
| | | } |
| | | final ShapeLoadingDialog pb = new ShapeLoadingDialog.Builder(this).build(); |
| | | |