|
@@ -1212,13 +1212,15 @@ public class FgtSmallSheep extends BaseFragment implements SmallSheepContract.Vi
|
|
|
|
|
|
|
|
private int onResumeCount = 0;
|
|
private int onResumeCount = 0;
|
|
|
|
|
|
|
|
|
|
+ private boolean hasShowSbd = false;
|
|
|
@Override
|
|
@Override
|
|
|
public void onResume() {
|
|
public void onResume() {
|
|
|
super.onResume();
|
|
super.onResume();
|
|
|
CommonUtil.getInstance().callActionWithUserInfo(item -> userEntity = item);
|
|
CommonUtil.getInstance().callActionWithUserInfo(item -> userEntity = item);
|
|
|
if (onResumeCount > 0)
|
|
if (onResumeCount > 0)
|
|
|
refreshTaskList();
|
|
refreshTaskList();
|
|
|
- if(onResumeCount == 0){
|
|
|
|
|
|
|
+ if(!hasShowSbd && isVisible()){
|
|
|
|
|
+ hasShowSbd = true;
|
|
|
//延时显示随便打弹出框提示
|
|
//延时显示随便打弹出框提示
|
|
|
PopupWindowUtil.delayShowLayout(activity, new PopupWindowUtil.PopupWindowParams(R.layout.pop_show_sbd_tip).setAnchor(to_search_but_rl)
|
|
PopupWindowUtil.delayShowLayout(activity, new PopupWindowUtil.PopupWindowParams(R.layout.pop_show_sbd_tip).setAnchor(to_search_but_rl)
|
|
|
.setGravity(Gravity.BOTTOM).setXoff(G.getRealPix(16))
|
|
.setGravity(Gravity.BOTTOM).setXoff(G.getRealPix(16))
|