-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
I have the usecase where I need to build a AsyncView from Cursive::call_on_name().
I'm not sure how to do that.
The usecase is: I have a sidebar with a list of items and as soon one is selected, I want to add a tab (via cursive-tabs) in the main view, loading something. The loading process can take time (minutes!), so I figured to use cursive-async-view. But because I want to create the view in Cursive::call_on_name(), I cannot use &mut siv to pass to the constructor of AsyncView.
Do you have an idea how to work around this?
Metadata
Metadata
Assignees
Labels
No labels