List adapter used to display test results
Inheritance: BaseAdapter
コード例 #1
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;
        }
コード例 #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;
        }
コード例 #3
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;
        }
コード例 #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;
        }