/// <summary> /// Handles the creation of the activity /// </summary> /// <param name="savedInstanceState"></param> protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); _testResultsAdapter = new TestResultsListAdapter(this); ListAdapter = _testResultsAdapter; }
/// <summary> /// Initializes a new instance <see cref="UITestListener"/> /// </summary> /// <param name="listAdapter"></param> public UITestListener(TestResultsListAdapter listAdapter) { // Create a new thread handler for the main looper. // This handler is used to post code from the background thread // back to the UI thread. _threadHandler = new Handler(Application.Context.MainLooper); _listAdapter = listAdapter; }