void RepositionList() { if (m_bGrid) { m_Grid.Reposition(); } else { if (m_bSelfCaculateItemHeight == false) { if (m_Table) { m_Table.SetInit(m_UIPanel); } m_Table.Reposition(); } } // make sure we have a correct poistion sequence if (m_bFirstItemBottom) { if (m_nTotalDataCount > 0) { ///uitable进行初始化,不然初始位置不正确 ///i /// //m_table一开始禁用,不然等到start后会修改为位置, if (m_Table) { m_Table.SetInit(m_UIPanel); m_Table.Reposition(); } SetFirstItemBottom(); } } else { m_ScrollView.SetDragAmount(0, 0, false); } }