layoutconfig support margin

This commit is contained in:
pengfei.zhou
2019-07-24 19:58:30 +08:00
parent cfde85b773
commit d180c6df22
10 changed files with 85 additions and 13 deletions

View File

@@ -65,7 +65,7 @@ export abstract class ViewModel<M extends Object, V extends ViewHolder> {
build(root: Group) {
this.viewHolder.build(root)
this.bind((data: M) => {
this.binding(this.viewHolder, this.model)
this.binding(this.viewHolder, data)
})
}