| | |
| | | private static final int ADD_DATA = 1; |
| | | private TextView tv_speed,tv_total_score,tv_sat_num; |
| | | private double speed=0.0; |
| | | private ImageView iv_rtk_status; |
| | | private ImageView iv_rtk_status,iv_head; |
| | | |
| | | private int currTotalScore = 100; |
| | | private List<ScoreBean> mArrayList = new ArrayList<>(); |
| | |
| | | houseView = view.findViewById(R.id.hv); |
| | | |
| | | iv_rtk_status = view.findViewById(R.id.iv_rtk_connect); |
| | | iv_head = view.findViewById(R.id.iv_head); |
| | | tv_sat_num = view.findViewById(R.id.tv_sat_num); |
| | | tv_speed = view.findViewById(R.id.tv_speed); |
| | | tv_total_score = view.findViewById(R.id.tv_total_score); |
| | |
| | | } catch (JSONException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | iv_head.getDrawable().setLevel(1); |
| | | break; |
| | | case R.id.tv_stop: |
| | | Toast.makeText(_mActivity, "结束考试", Toast.LENGTH_SHORT).show(); |
| | | iv_head.getDrawable().setLevel(0); |
| | | stopExam(); |
| | | break; |
| | | case R.id.view_map: |