對(duì)數(shù)據(jù)進(jìn)行修改后,notify列表會(huì)自動(dòng)滑動(dòng)到頂部赖晶,為了避免自動(dòng)滑動(dòng)到頂部需要對(duì)adapter的item進(jìn)行設(shè)置
android:descendantFocusability="blocksDescendants"
如果有頭部的話(huà),頭部根目錄也要設(shè)置
android:descendantFocusability="blocksDescendants"