Add resource system for doric,start with android

This commit is contained in:
pengfei.zhou
2021-10-20 18:57:17 +08:00
committed by osborn
parent 7637a820e5
commit 5501dd38d9
26 changed files with 880 additions and 23 deletions

View File

@@ -76,7 +76,9 @@ class ListVM extends ViewModel<ListModel, ListVH> {
heightSpec: LayoutSpec.JUST,
},
height: 50,
onClick: () => { modal(context).alert(data.text) }
onClick: function () {
(this as Text).height += 10
}
})
]), {
layoutConfig: {