| | |
| | | import com.google.gson.Gson; |
| | | import com.google.gson.GsonBuilder; |
| | | import com.google.gson.reflect.TypeToken; |
| | | import com.tejia.lijin.app.ShoppingApplication; |
| | | import com.wpc.library.content.ConnectivityChangeHelper; |
| | | import com.wpc.library.recyclerviewhelper.DividerItemDecoration; |
| | | import com.wpc.library.util.NetUtils; |
| | |
| | | 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); |
| | | tv_no_data_hint.setText("未找到符合筛选条件的粉丝~"); |
| | | iv_no_data.setImageDrawable(getResources().getDrawable(R.drawable.ic_search_no_firends)); |
| | | findViewById(R.id.tv_net_setting).setOnClickListener(this); |
| | | findViewById(R.id.tv_refresh).setOnClickListener(this); |
| | | mChangeHelper = new ConnectivityChangeHelper(this, |
| | |
| | | page++; |
| | | isLoad = false; |
| | | iv_loading.setVisibility(View.VISIBLE); |
| | | tv_loading.setText("正在加载更多数据"); |
| | | tv_loading.setText(getResources().getString(R.string.loading_more_text)); |
| | | getMyPlayer(); |
| | | } |
| | | } |
| | |
| | | String inviteTime = ""; |
| | | |
| | | private void getMyPlayer() { |
| | | String uid = getSharedPreferences("user", MODE_PRIVATE).getString("uid", ""); |
| | | ShoppingApi.getMyTeamV2(this, uid, page, key, Integer.parseInt(type), screenInfo, new BasicTextHttpResponseHandler() { |
| | | ShoppingApi.getMyTeamV2(this, UserUtil.getUid(ShoppingApplication.application), page, key, Integer.parseInt(type), screenInfo, new BasicTextHttpResponseHandler() { |
| | | @Override |
| | | public void onStart() { |
| | | super.onStart(); |