Commit 069af116e4c3d1f3608a74622e533752a7ae0339
1 parent
1fdb33d4
1 修改赛事详情页全屏返回标题在无网络切换到有网络时会显示的问题
Showing
3 changed files
with
4 additions
and
3 deletions
config.gradle
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/frame/view/OnGoingFragmentView.java
| ... | ... | @@ -102,7 +102,7 @@ public class OnGoingFragmentView implements MvpView { |
| 102 | 102 | if (fragment.getActivity() == null) { |
| 103 | 103 | return; |
| 104 | 104 | } |
| 105 | - fragment.binding.flTop.setVisibility(View.VISIBLE); | |
| 105 | + fragment.binding.flTop.setVisibility(View.GONE); | |
| 106 | 106 | this.runRaceDetailInfo = runRaceDetailInfo; |
| 107 | 107 | if (null != runRaceDetailInfo) { |
| 108 | 108 | if (null != runRaceDetailInfo.getNewDescription() && !TextUtils.isEmpty(runRaceDetailInfo.getNewDescription())) { | ... | ... |
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/frame/view/RunRaceDetailFragmentView.java
| ... | ... | @@ -168,7 +168,7 @@ public class RunRaceDetailFragmentView implements MvpView, SensorEventListener { |
| 168 | 168 | if (fragment.getActivity() == null) { |
| 169 | 169 | return; |
| 170 | 170 | } |
| 171 | - fragment.binding.flTop.setVisibility(View.VISIBLE); | |
| 171 | + | |
| 172 | 172 | if (null != runRaceDetailInfo) { |
| 173 | 173 | if (null != runRaceDetailInfo.getNewDescription() && !TextUtils.isEmpty(runRaceDetailInfo.getNewDescription())) { |
| 174 | 174 | initWebView(runRaceDetailInfo.getNewDescription()); |
| ... | ... | @@ -382,6 +382,7 @@ public class RunRaceDetailFragmentView implements MvpView, SensorEventListener { |
| 382 | 382 | } else { |
| 383 | 383 | fragment.binding.slidingLayout.setPanelHeight(ScreenUtil.dip2px(getContext(), 181)); |
| 384 | 384 | } |
| 385 | + fragment.binding.flTop.setVisibility(View.GONE); | |
| 385 | 386 | // //根据标题行数,自动调整卡片大小 |
| 386 | 387 | // fragment.binding.includeStreet.tvRaceTitle.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { |
| 387 | 388 | // @Override | ... | ... |