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 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?
The text was updated successfully, but these errors were encountered:
Hi,
I have the usecase where I need to build a
AsyncView
fromCursive::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 ofAsyncView
.Do you have an idea how to work around this?
The text was updated successfully, but these errors were encountered: