Add methods to retrieve item information and list items#52
Add methods to retrieve item information and list items#52khaled-0 wants to merge 1 commit intoCyklet:masterfrom
Conversation
|
I was wondering about the reasoning behind giving direct public access to ItemInformation functions? these items are short-lived and can disappear as soon as a download ends or fails. For item information, you should use the observe(with:) method, which provides up-to-date state and live updates. |
If at any point we need to show running processes without having to clone the data and using listeners. Just a fire off and go thing. Personally I'm using these data internally in a flutter plugin I'm developing. Where I presist completed records to disk with listeners. But I didn't like the idea of updating my db on every listener event. so I just added these methods to retrieve them from memory. Guess I could also just make a local copy in ram. But still there's one usecase where
|
No description provided.