Lines Matching refs:dataSource
418 private dataSource = new MyDataSource<FriendMoment>();
423 this.dataSource.pushData(new FriendMoment(i.toString(), title, 'app.media.app_icon'))
428 this.dataSource.pushData(new FriendMoment(i.toString(), title, ''))
436 LazyForEach(this.dataSource, (moment: FriendMoment) => {
573 @State dataSource: ListItemObject[] = [];
594 this.dataSource.pop();
604 this.dataSource.push(obj);
610 ForEach(this.dataSource, (item: ListItemObject) => {
862 dataSource: WaterFlowDataSource = new WaterFlowDataSource();
893 LazyForEach(this.dataSource, (item: number) => {
897 if (item + 20 == this.dataSource.totalCount()) {
899 this.dataSource.addLastItem();
933 private dataSource = new MyDataSource<Question>();
941 … this.dataSource.pushData(new Question(i.toString(), title, $r('app.media.app_icon'), answers));
948 LazyForEach(this.dataSource, (item: Question) => {