| | |
| | | super.onDestroy(); |
| | | } |
| | | |
| | | |
| | | @Subscribe(threadMode = ThreadMode.ASYNC) |
| | | public void recvCommand(DeviceMessage mssage){ |
| | | try { |
| | |
| | | LogUtils.e(e); |
| | | } |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public View onCreateView(LayoutInflater inflater, ViewGroup container, |
| | |
| | | try { |
| | | Thread.sleep(1000); |
| | | showHandler.sendEmptyMessage(1); |
| | | Log.i(TAG,"在运行"); |
| | | } catch (InterruptedException e) { |
| | | e.printStackTrace(); |
| | | }catch (Exception e){ |
| | |
| | | CanguiStatus cangui = gridStatusList.get(i); |
| | | View item = gridtable.getChildAt(i).findViewById(R.id.gridLineLayout); |
| | | if (checkIsSelectedAndOrRemove(cangui,true)) { |
| | | item.setBackgroundColor(getResources().getColor(R.color.cheng)); |
| | | } else { |
| | | item.setBackgroundColor(Color.GRAY); |
| | | } else { |
| | | item.setBackgroundColor(getResources().getColor(R.color.cheng)); |
| | | } |
| | | } |
| | | }); |