List adapter used to display test results
Inheritance: BaseAdapter
        /// <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;
        }
Esempio n. 2
0
        /// <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;
        }
Esempio n. 4
0
        /// <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;
        }