feat: update refreshable demo

This commit is contained in:
pengfei.zhou 2021-05-14 20:58:55 +08:00 committed by osborn
parent 466aa0ff54
commit 6d87ad8433

View File

@ -112,12 +112,15 @@ class ListPanel extends Panel {
heightSpec: LayoutSpec.MOST, heightSpec: LayoutSpec.MOST,
}, },
}), }),
layoutConfig: {
widthSpec: LayoutSpec.MOST,
heightSpec: LayoutSpec.FIT,
weight: 1,
},
}), }),
], ],
{ {
layoutConfig: layoutConfig().most(), layoutConfig: layoutConfig().most(),
backgroundColor: Color.WHITE
}).in(rootView) }).in(rootView)
refreshView.backgroundColor = Color.YELLOW refreshView.backgroundColor = Color.YELLOW
} }