We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React-Native-SmartRefreshLayout是基于Android SmartRefreshLayout 开发的插件 , 可提供类似ios的弹性刷新,该插件可完全使用React Native进行自定义
HeaderComponent现在支持任意的RN组件,但是需要放在AnyHeader的组件中, 其中onHeaderPulling、onHeaderReleasing和onHeaderMoving的参数为{nativeEvent:{percent,offset,headerHeight}},可用来控制下拉和释放过程中更为精细的动画, 如果下拉和释放过程不需要过程动画,则使用onPullDownToRefresh和onReleaseToRefresh即可实现。 请看示例:Example HuaweiRefreshControl 、 LottieRefreshControl
IOS自定义下拉刷新组件见React-Native-MJRefresh
建议:该组件与lottie-react-native配合使用可获得绝佳的下拉动画效果
The text was updated successfully, but these errors were encountered:
ziven27
No branches or pull requests
描述
React-Native-SmartRefreshLayout是基于Android SmartRefreshLayout 开发的插件 ,
可提供类似ios的弹性刷新,该插件可完全使用React Native进行自定义
HeaderComponent现在支持任意的RN组件,但是需要放在AnyHeader的组件中,
其中onHeaderPulling、onHeaderReleasing和onHeaderMoving的参数为{nativeEvent:{percent,offset,headerHeight}},可用来控制下拉和释放过程中更为精细的动画,
如果下拉和释放过程不需要过程动画,则使用onPullDownToRefresh和onReleaseToRefresh即可实现。
请看示例:Example
HuaweiRefreshControl 、 LottieRefreshControl
IOS自定义下拉刷新组件见React-Native-MJRefresh
建议:该组件与lottie-react-native配合使用可获得绝佳的下拉动画效果
The text was updated successfully, but these errors were encountered: