| | |
| | | if (mList.size() == count) { |
| | | bottom.setVisibility(View.VISIBLE); |
| | | iv_loading.setVisibility(View.GONE); |
| | | tv_loading.setText("-到底了*^_^*-"); |
| | | tv_loading.setText(getResources().getString(R.string.list_no_more)); |
| | | } |
| | | requestState(mList.size() == 0 ? 1 : 0); |
| | | } else { |
| | |
| | | * 筛选类型变化 |
| | | */ |
| | | private void filterTypeChange() { |
| | | tv_valid_order_money.setTextColor(orderState == 1 ? getResources().getColor(R.color.main_text_color) |
| | | tv_valid_order_money.setTextColor(orderState == 1 ? getResources().getColor(R.color.theme) |
| | | : getResources().getColor(R.color.black)); |
| | | tv_valid_order_hint.setTextColor(orderState == 1 ? getResources().getColor(R.color.main_text_color) |
| | | tv_valid_order_hint.setTextColor(orderState == 1 ? getResources().getColor(R.color.theme) |
| | | : getResources().getColor(R.color.black)); |
| | | v_valid.setVisibility(orderState == 1 ? View.VISIBLE : View.INVISIBLE); |
| | | |
| | | tv_weiquan_order_money.setTextColor(orderState == 2 ? getResources().getColor(R.color.main_text_color) |
| | | tv_weiquan_order_money.setTextColor(orderState == 2 ? getResources().getColor(R.color.theme) |
| | | : getResources().getColor(R.color.black)); |
| | | tv_weiquan_order_hint.setTextColor(orderState == 2 ? getResources().getColor(R.color.main_text_color) |
| | | tv_weiquan_order_hint.setTextColor(orderState == 2 ? getResources().getColor(R.color.theme) |
| | | : getResources().getColor(R.color.black)); |
| | | v_weiquan.setVisibility(orderState == 2 ? View.VISIBLE : View.INVISIBLE); |
| | | } |