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AC,MAAM,CAAC;oFACqC;IAHhD,+BAA+B;QAF3C,OAAO;QACP,mCAAU,CAAC,6DAA+B,CAAC;OAC/B,+BAA+B,CA+B3C;IAAD,sCAAC;KAAA;AA/BY,0EAA+B","file":"","sourceRoot":"/","sourcesContent":["import { ListSubviewImpl } from \"../../../baseview/impl/ListSubviewImpl\";\nimport { ExtraPlotDatingEventItemProps, ExtraPlotDatingEventSubViewProps, ExtraPlotDatingEventSubViewType } from \"../../type/ExtraPlotDatingEventSubView\";\nimport { DatingEventItemViewImpl } from \"./DatingEventItemViewImpl\";\nimport { RegSubview } from \"../../../PresenterCCViewFactory\";\nimport { DummyPrefab } from \"../../../../../common/CCDummyObjects\";\n\nconst { ccclass, property } = cc._decorator;\n\n@ccclass\n@RegSubview(ExtraPlotDatingEventSubViewType)\nexport class ExtraPlotDatingEventSubViewImpl extends ListSubviewImpl<ExtraPlotDatingEventItemProps, ExtraPlotDatingEventSubViewProps> {\n\n @property(cc.Prefab)\n private extraPlotListItemPrefab: cc.Prefab = DummyPrefab;\n\n onLoad() {\n super.onLoad();\n }\n\n protected createListItemView(index: number) {\n let node = cc.instantiate(this.extraPlotListItemPrefab);\n return Promise.resolve(node.getComponent(DatingEventItemViewImpl));\n }\n\n onRefreshListEnd() {\n this.scheduleOnce(() => {\n this.scheduleOnce(() => {\n this.contentLayout.updateLayout();\n this.scrollToTop();\n });\n });\n }\n\n getItemNode = (k: string): cc.Node | undefined => {\n let ret: cc.Node | undefined = undefined;\n let v = this._itemViews[k];\n if (v) {\n ret = v.node;\n }\n return ret;\n }\n}"]}