11111
This commit is contained in:
@@ -33,12 +33,18 @@ public class NoviceInstructorManager extends BaseCacheManager {
|
||||
private Handler netHandler = new Handler();
|
||||
//是否弹出指导员引导弹窗
|
||||
private String homeZdyPop = "";
|
||||
private boolean isFrist = true;
|
||||
|
||||
public NoviceInstructorManager(Context context) {
|
||||
super(context);
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
public NoviceInstructorManager setFrist(boolean frist) {
|
||||
isFrist = frist;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 呼出指导员引导弹窗
|
||||
*
|
||||
@@ -54,7 +60,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
|
||||
* 检查需不需要弹出新人面向指导员弹窗
|
||||
*/
|
||||
public void checktHomeZdyPop() {
|
||||
if (!TextUtils.isEmpty(homeZdyPop) && TextUtils.equals(homeZdyPop, "1")) {
|
||||
if (!TextUtils.isEmpty(homeZdyPop) && TextUtils.equals(homeZdyPop, "1") && !isFrist) {
|
||||
netHandler.post(instructorOperationOpenRunnable);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user