Commit aca9a2661c87a793b1f47bfd67b62747d367055e

Authored by 韩亚云
1 parent 9f19a6b6

绑定已删除轨迹提示修改

moudle_pedometer/src/main/java/com/cnlive/moudle/collectionTrace/frame/view/CollTraceListDetailFragmentView.java
@@ -154,7 +154,7 @@ public class CollTraceListDetailFragmentView implements MvpView, OnFenceListener @@ -154,7 +154,7 @@ public class CollTraceListDetailFragmentView implements MvpView, OnFenceListener
154 } 154 }
155 if(isDelete != null && isDelete.equals("1")){ 155 if(isDelete != null && isDelete.equals("1")){
156 EventBus.getDefault().post(new MessageEvent(Constant.DELECT_COLL_BIND_TRACE_LIST, position)); 156 EventBus.getDefault().post(new MessageEvent(Constant.DELECT_COLL_BIND_TRACE_LIST, position));
157 - AlertUtil.showDeftToast(fragment.getActivity(),"该轨迹已被删除"); 157 + AlertUtil.showLongToast(fragment.getActivity(),"该轨迹已被删除,不能进行绑定",2000);
158 fragment.getActivity().finish(); 158 fragment.getActivity().finish();
159 return; 159 return;
160 } 160 }
moudle_pedometer/src/main/java/com/cnlive/moudle/collectionTrace/frame/view/RaceNameListView.java
@@ -175,7 +175,7 @@ public class RaceNameListView implements MvpView, OnFenceListener { @@ -175,7 +175,7 @@ public class RaceNameListView implements MvpView, OnFenceListener {
175 } 175 }
176 if(isDelete != null && isDelete.equals("1")){ 176 if(isDelete != null && isDelete.equals("1")){
177 delectShoeLine(position); 177 delectShoeLine(position);
178 - AlertUtil.showDeftToast(fragment.getActivity(),"该轨迹已被删除"); 178 + AlertUtil.showLongToast(fragment.getActivity(),"该轨迹已被删除,不能进行绑定",2000);
179 return; 179 return;
180 } 180 }
181 //判断是否为空 181 //判断是否为空