@infinite-list/data-model
Advanced tools
Comparing version 0.2.45-recycle-group.26 to 0.2.45-recycle-group.27
@@ -44,3 +44,3 @@ import Batchinator from '@x-oasis/batchinator'; | ||
get state(): ListState<ItemT>; | ||
addBuffer(recyclerType: string): boolean; | ||
addBuffer(recyclerType: string): import("@x-oasis/recycler/dist/FixedBuffer").default; | ||
cleanup(): void; | ||
@@ -47,0 +47,0 @@ resolveInitialActiveValue(active: boolean): boolean; |
@@ -5,4 +5,3 @@ export * from './Dimensions.types'; | ||
export * from './onEndReachedHelper'; | ||
export * from './Recycler.types'; | ||
export * from './inspector'; | ||
export * from './ItemMeta.types'; |
{ | ||
"name": "@infinite-list/data-model", | ||
"version": "0.2.45-recycle-group.26", | ||
"version": "0.2.45-recycle-group.27", | ||
"files": [ | ||
@@ -29,2 +29,3 @@ "dist", | ||
"@x-oasis/prefix-interval-tree": "^0.1.18", | ||
"@x-oasis/recycler": "^0.1.20", | ||
"@x-oasis/resolve-changed": "^0.1.14", | ||
@@ -31,0 +32,0 @@ "@x-oasis/select-value": "^0.1.14", |
@@ -47,3 +47,3 @@ import noop from '@x-oasis/noop'; | ||
import ViewabilityConfigTuples from './viewable/ViewabilityConfigTuples'; | ||
import Recycler from './Recycler'; | ||
import Recycler from '@x-oasis/recycler'; | ||
import BaseLayout from './BaseLayout'; | ||
@@ -204,3 +204,2 @@ | ||
this._recycler = new Recycler({ | ||
owner: this, | ||
recyclerTypes, | ||
@@ -210,2 +209,7 @@ recyclerBufferSize, | ||
recyclerReservedBufferPerBatch, | ||
metaExtractor: (index) => this.getFinalIndexItemMeta(index), | ||
indexExtractor: (meta) => { | ||
const indexInfo = meta.getIndexInfo(); | ||
return indexInfo?.indexInRecycler; | ||
}, | ||
}); | ||
@@ -212,0 +216,0 @@ |
@@ -5,4 +5,3 @@ export * from './Dimensions.types'; | ||
export * from './onEndReachedHelper'; | ||
export * from './Recycler.types'; | ||
export * from './inspector'; | ||
export * from './ItemMeta.types'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2188448
17
111
25102
+ Added@x-oasis/recycler@^0.1.20
+ Added@x-oasis/recycler@0.1.38(transitive)