Android 給雙ListView組織數據源

需求:現有這樣一套原始數據{「A」,"B","C","D","B","A","B","C","A","B","D","D"}. 要求將此數據組織成爲雙列表形式顯示,即將元素相同的數據分爲一組,即{["A","A","A"],["B","B","B","B"],["C","C"],["D","D","D"]}並將分組後的數據顯示在ListView界面上。(外部ListView顯示每一組,內部List
相關文章
相關標籤/搜索