AppWidgetHostView.SetExecutor(IExecutor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets an executor which can be used for asynchronously inflating.
[Android.Runtime.Register("setExecutor", "(Ljava/util/concurrent/Executor;)V", "GetSetExecutor_Ljava_util_concurrent_Executor_Handler", ApiSince=26)]
public virtual void SetExecutor (Java.Util.Concurrent.IExecutor? executor);
[<Android.Runtime.Register("setExecutor", "(Ljava/util/concurrent/Executor;)V", "GetSetExecutor_Ljava_util_concurrent_Executor_Handler", ApiSince=26)>]
abstract member SetExecutor : Java.Util.Concurrent.IExecutor -> unit
override this.SetExecutor : Java.Util.Concurrent.IExecutor -> unit
Parameters
- executor
- IExecutor
the executor to use or null.
- Attributes
Remarks
Sets an executor which can be used for asynchronously inflating. CPU intensive tasks like view inflation or loading images will be performed on the executor. The updates will still be applied on the UI thread.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.