listview enable cell refresh

This commit is contained in:
pengfei.zhou
2019-11-13 20:43:05 +08:00
parent 3933582e1e
commit 4dcc89497d
7 changed files with 75 additions and 16 deletions

View File

@@ -43,6 +43,8 @@ class ListPanel extends Panel {
it.height = 50
it.onClick = () => {
log(`Click item at ${idx}`)
it.bgColor = Color.parse('#000000')
log(`changed,listview is dirty:${list.isDirty()}`)
}
})
}