|
|
@ -343,18 +343,12 @@ public class ComponentCollector implements XMLable { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void clickComponentSetting() { |
|
|
|
public void clickComponentSetting() { |
|
|
|
boolean changed = false; |
|
|
|
|
|
|
|
int firstShowReact = ComponentReuseNotificationInfo.getInstance().isWidgetLibHasRefreshed() ? 2 : -1; |
|
|
|
int firstShowReact = ComponentReuseNotificationInfo.getInstance().isWidgetLibHasRefreshed() ? 2 : -1; |
|
|
|
if (this.firstShowReact != firstShowReact) { |
|
|
|
if (this.firstShowReact != firstShowReact) { |
|
|
|
this.firstShowReact = firstShowReact; |
|
|
|
collectFirstShowReact(firstShowReact); |
|
|
|
changed = true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (this.embededFilterReact == 0 && ComponentReuseNotificationInfo.getInstance().isWidgetLibHasRefreshed()) { |
|
|
|
if (this.embededFilterReact == 0 && ComponentReuseNotificationInfo.getInstance().isWidgetLibHasRefreshed()) { |
|
|
|
this.embededFilterReact = -1; |
|
|
|
collectEmbededFilterReact(-1); |
|
|
|
changed = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (changed) { |
|
|
|
|
|
|
|
saveInfo(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -371,11 +365,16 @@ public class ComponentCollector implements XMLable { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (System.currentTimeMillis() - ComponentReuseNotificationInfo.getInstance().getFirstDragEndTime() <= ONE_MINUTE) { |
|
|
|
if (System.currentTimeMillis() - ComponentReuseNotificationInfo.getInstance().getFirstDragEndTime() <= ONE_MINUTE) { |
|
|
|
this.dynamicEffectReact = 1; |
|
|
|
collectDynamicEffectReactFlag(1); |
|
|
|
saveInfo(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void collectDynamicEffectReactFlag(int flag) { |
|
|
|
|
|
|
|
this.dynamicEffectReact = flag; |
|
|
|
|
|
|
|
saveInfo(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void clearSortType() { |
|
|
|
public void clearSortType() { |
|
|
|
sortType = JSONFactory.createJSON(JSON.ARRAY); |
|
|
|
sortType = JSONFactory.createJSON(JSON.ARRAY); |
|
|
|
} |
|
|
|
} |
|
|
|