1、ListView
刪除指定item
嘀韧,需要設(shè)置每個(gè)item
的key
,并且進(jìn)行刪除操作時(shí)缠捌,盡量遍歷數(shù)組锄贷,從后向前刪除,避免樣式上的錯(cuò)亂
image.png
image.png
刪除操作:
image.png