-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Would be nice if there would be an option to build the AsyncView from an iterator, with optional progress bar of course.
Something like:
AsyncView::from_iterator(it)with from_iterator(i: I) where I: IntoIterator<Item = V>, V: View or something like this?
Or even
AsyncView::fold_from_iter(it, ListView::new(), |accu, elem| { accu.add_child("", elem); accu });where the closure folds over the ListView and elem as element from the iterator?
Metadata
Metadata
Assignees
Labels
No labels