MainThreadRunner

Namespace: WellFired.Guacamole

Description

Public Static Methods

void ExecuteOnMainThread ( Action action )
void ExecuteBeforeLayout ( Action action )

Public Methods

void ProcessPreLayoutActions ( )
void ProcessMainThreadActions ( )

Breakdown

  • void ExecuteOnMainThread ( Action action )

    Description

    Queues an action to be executed on the main thread.

    Parameters

    action
  • void ExecuteBeforeLayout ( Action action )

    Description

    Queues an action to be executed on the main thread before the UI is layouted. Any action having an impact on the UI should be executed here to ensure the UI changes are layouted correctly before to be rended.

    Parameters

    action
  • void ProcessPreLayoutActions ( )

    Description

    Execute actions on the main thread before the UI is layouted.

  • void ProcessMainThreadActions ( )

    Description

    Execute actions on the main thread.