Example #1
0
        void UpdateListView(UnityEngine.UIElements.ListView listViewElement, TimeRange timeRange)
        {
            if (m_TransactionManager.Initialized)
            {
                var transactions = m_TransactionManager.Read(timeRange);
                Transactions.AddRange(transactions);
            }

            EditorApplication.delayCall += listViewElement.Rebuild;
        }
        void UpdateListView(UnityEngine.UIElements.ListView listViewElement, TimeRange timeRange)
        {
            if (m_TransactionManager.Initialized)
            {
                var transactions = m_TransactionManager.Read(timeRange);
                Transactions.AddRange(transactions);
            }

            #if USE_SEARCH_MODULE
            EditorApplication.delayCall += listViewElement.Rebuild;
            #else
            EditorApplication.delayCall += listViewElement.Refresh;
            #endif
        }