javascript - How to customize the flatlist drop-down component style?
PHP中文网
PHP中文网 2017-06-08 11:02:39
0
1
1340

1. First, let me talk about the effect I want to achieve. Pull down a picture like JD.com on mobile phones, and jump to a new page after letting go.

2. But Flatlist has a default drop-down event

onRefresh
如果设置了此选项,则会在列表头部添加一个标准的RefreshControl控件,以便实现“下拉刷新”的功能。

I don’t see how to change the head control in the document. Android defaults to a black circular refresh component, and if you add a head directly, it will be displayed by default. I don’t know how to hide it for the time being.
So I want to ask how to achieve the function I want

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
给我你的怀抱

Solved by react-native-pull. .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template