| | |
| | | import androidx.lifecycle.ViewModelProviders; |
| | | |
| | | import com.anyun.exam.lib.AYSdk; |
| | | import com.anyun.exam.lib.MyLog; |
| | | import com.google.gson.Gson; |
| | | import com.google.gson.JsonElement; |
| | | import com.google.gson.JsonObject; |
| | |
| | | import safeluck.drive.evaluation.R; |
| | | import safeluck.drive.evaluation.adapter.ScoreAdapter; |
| | | import safeluck.drive.evaluation.bean.ScoreBean; |
| | | import safeluck.drive.evaluation.cEventCenter.CEventCenter; |
| | | |
| | | /** |
| | | * 联网训练UI |
| | |
| | | } |
| | | |
| | | private void initView(View view) { |
| | | sendRTKConfig2RemoteService(); |
| | | mListView = view.findViewById(R.id.lv); |
| | | mListView.setFocusable(false); |
| | | view.findViewById(R.id.view_map).setOnClickListener(this); |
| | |
| | | mListView.addHeaderView(LayoutInflater.from(_mActivity).inflate(R.layout.layout_score_item,null)); |
| | | |
| | | } |
| | | |
| | | private void sendRTKConfig2RemoteService() { |
| | | MyLog.d(TAG,"主动推送RTKConfig"); |
| | | CEventCenter.dispatchEvent(Constant.BIND_RTKCONFIG_TOPIC,Constant.FETCH_RTK_PLATFORM_INFO,0,""); |
| | | } |
| | | @Override |
| | | public void onClick(View v) { |
| | | switch (v.getId()){ |