We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
from_iterator(i: I) where I: IntoIterator<Item = V>, V: View
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?
ListView
elem
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would be nice if there would be an option to build the AsyncView from an iterator, with optional progress bar of course.
Something like:
with
from_iterator(i: I) where I: IntoIterator<Item = V>, V: View
or something like this?Or even
where the closure folds over the
ListView
andelem
as element from the iterator?The text was updated successfully, but these errors were encountered: