You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have a new method of getting assets statistics: getStatAsync(assetPath, assetType: [RequestType.image, RequestType.video]) - getting stat by assetPath, and assetType filter in api call
Example result:
[
["2023.12.01 00:00:00Z", 65], // Month in year (justfirst date of month), and count of assets
["2023.11.01 00:00:00Z", 100],
[...]
]
Why
I need this for building lazy gridView with some kind of indexed draggable scrollbar (for example A-Z scrollbar panel in contacts list), when knowing current offset I calculate asset index and show a hint about day or month where in time current scroll position located in gallery.
For now I'm calculating this data by loading and processing all the assets by page, but for large galleries this is becoming very lagging and memory consuming.
Similar request #594 - but I need aggregation by months, or may be days.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Platforms
Android, iOS
Description
I'd like to have a new method of getting assets statistics:
getStatAsync(assetPath, assetType: [RequestType.image, RequestType.video])
- getting stat by assetPath, and assetType filter in api callExample result:
Why
I need this for building lazy gridView with some kind of indexed draggable scrollbar (for example A-Z scrollbar panel in contacts list), when knowing current offset I calculate asset index and show a hint about day or month where in time current scroll position located in gallery.
For now I'm calculating this data by loading and processing all the assets by page, but for large galleries this is becoming very lagging and memory consuming.
Similar request #594 - but I need aggregation by months, or may be days.
Thanks in advance.
The text was updated successfully, but these errors were encountered: