Exemplo n.º 1
0
 /// <summary>
 /// Schedule a block to be executed on the UI thread. Useful if you need to execute
 /// view logic after all currently queued view updates have completed.
 /// </summary>
 /// <param name="block">The UI block.</param>
 public void AddUIBlock(IUIBlock block)
 {
     _layoutActionQueue.Dispatch(() =>
                                 _uiImplementation.AddUIBlock(block));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Schedule a block to be executed on the UI thread. Useful if you need to execute
 /// view logic after all currently queued view updates have completed.
 /// </summary>
 /// <param name="block">The UI block.</param>
 public void AddUIBlock(IUIBlock block)
 {
     _uiImplementation.AddUIBlock(block);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Schedule a block to be executed on the UI thread. Useful if you need to execute
 /// view logic after all currently queued view updates have completed.
 /// </summary>
 /// <param name="block">The UI block.</param>
 /// <param name="tag">Optional react tag hint that triggers the choice of the dispatcher thread that executes the block .</param>
 public void AddUIBlock(IUIBlock block, int?tag)
 {
     _uiImplementation.AddUIBlock(block, tag);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Schedule a block to be executed on the UI thread. Useful if you need to execute
 /// view logic after all currently queued view updates have completed.
 /// </summary>
 /// <param name="block">The UI block.</param>
 public void AddUIBlock(IUIBlock block)
 {
     Context.RunOnLayoutQueueThread(() =>
                                    _uiImplementation.AddUIBlock(block));
 }