修复遮罩问题

This commit is contained in:
18401019693
2022-09-06 15:53:42 +08:00
parent 38e85d20a4
commit 9b3483457f
6 changed files with 25 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ public class InstructorOperationDialog extends AbsDialogFragment {
ImgLoader.display(mContext,home_zdy_img_cn, to_msg);
}
NoviceInstructorManager.get(getActivity()).setHomeZdyPop("");
mRootView.findViewById(R.id.to_msg).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

View File

@@ -6,4 +6,5 @@ import com.yunbao.common.bean.BaseModel;
* 新人面向指导员的跳转弹窗
*/
public class InstructorOperationEvent extends BaseModel {
}

View File

@@ -45,6 +45,11 @@ public class NoviceInstructorManager extends BaseCacheManager {
return this;
}
public String getHomeZdyPop() {
return homeZdyPop;
}
/**
* 呼出指导员引导弹窗
*
@@ -52,7 +57,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
*/
public NoviceInstructorManager setHomeZdyPop(String homeZdyPop) {
this.homeZdyPop = homeZdyPop;
netHandler.post(instructorOperationOpenRunnable);
netHandler.postDelayed(instructorOperationOpenRunnable,800);
return this;
}
@@ -61,7 +66,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
*/
public void checktHomeZdyPop() {
if (!TextUtils.isEmpty(homeZdyPop) && TextUtils.equals(homeZdyPop, "1") && !isFrist) {
netHandler.post(instructorOperationOpenRunnable);
netHandler.postDelayed(instructorOperationOpenRunnable,800);
}
}
@@ -87,7 +92,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
model = new Gson().fromJson(getString(KEY_NOVICE_INSTRUCTOR), NoviceInstructorModel.class);
} else {
netHandler.post(instructorOperationRunnable);
netHandler.postDelayed(instructorOperationRunnable, 1000);
}
return model;
}
@@ -142,7 +147,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
model = new Gson().fromJson(info, NoviceInstructorModel.class);
setNoviceInstructor(model);
if (model != null) {
netHandler.post(instructorOperationRunnable);
netHandler.postDelayed(instructorOperationRunnable, 800);
}
} catch (JsonSyntaxException ignored) {
}