feat: update refreshable demo
This commit is contained in:
parent
466aa0ff54
commit
6d87ad8433
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user