ui-thread
Why can only the UI thread in Android update the UI?
Could someone please explain to me why only the UI thread in Android can update the UI? Why can\'t any ot开发者_开发百科her thread update the UI?Documentation states that Android UI toolkit is not thr[详细]
2023-04-13 01:29 分类:问答Multithreading: C# program running C dll - Unresponsive C#
I wrote a C dll that performs two tasks: 1) Relay certain messages to the C# program 2) Perform an intensive task on a different thread[详细]
2023-04-07 07:23 分类:问答Android - How do I set View.GONE outside the UI thread?
I want to make a view disappear (to be gone) when the user pushes a button. I can make it inside the onCreate() method (main UI thread) by doing:[详细]
2023-04-05 17:53 分类:问答UI refresh freezes app while paints
This is a speculative question so no code provided. I have an application that takes a large XML file and builds a view from this for editing by the user. The loading of the XML is carried out in a b[详细]
2023-04-03 06:18 分类:问答odata on silverlight runs on UI thread only
We\'re working with OData on Silverlight, using DataServiceCo开发者_StackOverflow社区llection to get the data.[详细]
2023-03-31 05:05 分类:问答Force close when changing the resource of an ImageView
I having some problem with changing the resource of an imageview when i click an item. I know that any graphical updates should be done in the UI thread and I have tried two ways without success:[详细]
2023-03-30 16:25 分类:问答How to flash a button on UI thread?
I have a button on my UI that I would like to flash (turn on and then off again) every 800ms, once the button has been pressed. I do that with the following code:[详细]
2023-03-24 19:33 分类:问答Running on UI Thread from a view
I have a custom view that contains several views in itself. I\'ve made it so that when one of the views inside this container view is clicked, it will run a \"timer\" thread that needs to update the a[详细]
2023-03-24 05:47 分类:问答What is the relationship between the JavaScript thread and the Silverlight UI thread?
JavaScript is single threaded - Silverlight is not, but interaction between JavaScript and Silverlight must be performed on the Silverlight UI thread.[详细]
2023-03-18 20:00 分类:问答Does this Run on the UI thread
Does this code actually run under the UI thread in android (2.2 & up). If not is there an example of how to do it.[详细]
2023-03-15 02:10 分类:问答