| | |
| | | |
| | | import com.okgoincar.R; |
| | | import com.okgoincar.base.BaseEvent; |
| | | import com.okgoincar.base.MyApplication; |
| | | import com.okgoincar.slab.util.DialogUtil; |
| | | import com.github.zackratos.ultimatebar.UltimateBar; |
| | | import com.google.gson.Gson; |
| | |
| | | |
| | | } |
| | | |
| | | Handler heartHandler; |
| | | // Handler heartHandler; |
| | | private void settest() { |
| | | // tv_test.setVisibility(VISIBLE); |
| | | // if (!MyApplication.Companion.getLocation().getAoiName().isEmpty()){ |
| | |
| | | // if (heartHandler == null) { |
| | | // heartHandler = new Handler(getMainLooper()); |
| | | // } |
| | | // heartHandler.postDelayed(this::settest,1000); |
| | | // heartHandler.postDelayed(this::settest,2000); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | public void showOrder(String orderId, String orderType) { |
| | | // Bundle bundle = creatBundleString("orderId", orderId); |
| | | // bundle.putString("orderType", orderType); |
| | | Intent intent = new Intent(this, SlabGetOrderFragment.class); |
| | | intent.putExtra("orderId",orderId); |
| | | intent.putExtra("orderType",orderType); |
| | | startActivity(intent); |
| | | } |
| | | |
| | | public void toDorderAct(String orderId, String orderType){ |
| | | Intent intent = new Intent(this, SlabTripActivity.class); |
| | |
| | | startActivity(intent); |
| | | } |
| | | |
| | | /*** |
| | | * type 1:普通单 2:该派单 |
| | | * @param orderId |
| | | * @param orderType |
| | | * @param time |
| | | * @param type |
| | | */ |
| | | public void showOrder(String orderId, String orderType,int time,int type) { |
| | | Intent intent = new Intent(this,SlabGetOrderFragment.class); |
| | | intent.putExtra("orderId",orderId); |
| | | intent.putExtra("orderType",orderType); |
| | | intent.putExtra("time",time); |
| | | intent.putExtra("type",type); |
| | | startActivity(intent); |
| | | } |
| | | |
| | | |
| | | |
| | | @Override |