1,306 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
193
views
.NET MAUI BindableObject throws an InvalidOperationException when try to instantiate it
I'm currently trying to embed some maui views into a legacy android native application and I found out a way to accomplish that using MSDN native embedding guide;
https://learn.microsoft.com/en-us/...
-1
votes
1
answer
109
views
How to switch task to a WPF Dispatcher with a priority?
WPF Dispatcher has a method InvokeAsync that accepts an Action or a Func<T> and DispatcherPriority.
I need to pass Func<Task<T>> and I need to run whole Task<T> on a WPF ...
0
votes
0
answers
129
views
How to wait for the rendering thread to finished in WPF?
I have a scenario like this: I used caliburn.micro as my MVVM framework in .NET 6 platform.
I need to insert a block in the UI when user clicks the add button, and take a screenshot the "newest&...
0
votes
0
answers
69
views
Progressbar or Data in View not shown in WPF
I'm loading a large set of data, and I want to display a ProgressBar while the data is being analyzed. Here's what I've tried so far:
if (openFileDialog.ShowDialog() == true)
...
-1
votes
1
answer
329
views
FATAL EXCEPTION:DefaultDispatcher-worker-5 Can't create handler inside thread Threadthat has not called Looper.prepare()
FATAL EXCEPTION: DefaultDispatcher-worker-5
Process: com.shoptheworldonline.android, PID: 5088
java.lang.RuntimeException: Can't create handler inside thread Thread[DefaultDispatcher-worker-5,5,main] ...
0
votes
1
answer
50
views
ModRewrite rule - Skip if the selector is not present
I have a situation where I need to write urls with and without selectors seperately.
for example
the URI /feeds/mydata.json should go to /content/feeds/mydata/app.json
the URI /feeds/mydata.sale.json ...
0
votes
1
answer
212
views
ExecutorCoroutineDispatcher class Correct Implementation
class dispatch : ExecutorCoroutineDispatcher() {
private val services = Executors.newCachedThreadPool()
override val executor: Executor
get() = services
...
1
vote
1
answer
157
views
List of Future is not executed in parallel
I don't understand why this code is not executed in parallel.
implicit val ec: ExecutionContext = system.dispatchers.lookup("db-non-blocking")
println(s"Cores ${Runtime.getRuntime()....
-1
votes
2
answers
162
views
Load another thread with a Page to prevent UI freezing while rendering stuff in WPF
I'm new in WPF and C#, I have this problem where I have a loading spinner and a button that loads new Pages inside a frame.
What I want is to render the spinner on top of the Frame, and load the Page ...
0
votes
0
answers
45
views
How to write unit test for Application.Current.Dispatcher.BeginInvoke
I have a custom wpfmessagebox that has to be invoked from the dispatcher. It displays properly when running however I'm having trouble writing a unit test for it. The test can run but the "cVM....
0
votes
2
answers
611
views
Simple event dispatcher in Rust
I'm trying to develop a simple application to create simple objects (like a cube) with OpenGL.
So far I've created a wrapper to OpenGL using the "gl" module to initialize vbos, vaos, ...
1
vote
0
answers
99
views
Cannot access BitmapImage from async Task [duplicate]
I have code which generates an image doing lots of things, so I run it as async Task. After the generation is completed the image should be displayed in the Image WPF element. But I get System....
0
votes
2
answers
254
views
Wpf ProgressBar not updating During Threading Operation
i have a C# wpf project with a progress bar.
i am trying to update the progressbar during a threading operation but nothing happens.
using dispatcher should have done the job but it is not working.
...
2
votes
1
answer
1k
views
MAUI Equivalent for Dispatcher.Run
In WPF applications, I could create a new thread, get the Systems.Windows.Dispatcher for that thread, and call Dispatcher.Run to get dispatcher services for the new thread. If I call Dispatcher....
0
votes
1
answer
96
views
MVVMCross how to do heavily work on another thread, do not freeze the UI?
I'm implementing a UI which contains a list I use the framework MVVMCross. To fill the list I iterate through several directorys to gather specific XML documents. Now I want to outsource this ...