Coder Social home page Coder Social logo

Comments (12)

zyslife avatar zyslife commented on June 30, 2024

近期准备实现该功能

from react-native-head-tab-view.

DreamTravelingLight avatar DreamTravelingLight commented on June 30, 2024

请问可以实现上拉加载吗

from react-native-head-tab-view.

zyslife avatar zyslife commented on June 30, 2024

请问可以实现上拉加载吗

现在不是已经支持上拉加载了啊,使用列表组件自带的就可以

from react-native-head-tab-view.

DreamTravelingLight avatar DreamTravelingLight commented on June 30, 2024

就是创建的时候const HFlatList = HPageViewHoc(FlatList),括号里面的写成自己封装的带有刷新的FlatList会报错,是只能用FlatList吗

from react-native-head-tab-view.

zyslife avatar zyslife commented on June 30, 2024

就是创建的时候const HFlatList = HPageViewHoc(FlatList),括号里面的写成自己封装的带有刷新的FlatList会报错,是只能用FlatList吗

HPageViewHoc只能传入ScrollView、FlatList、SectionList, 你可以把你自己封装的FlatList里的FlatList用HPageViewHoc(FlatList)包装一下

from react-native-head-tab-view.

DreamTravelingLight avatar DreamTravelingLight commented on June 30, 2024

好的明白了,谢谢

from react-native-head-tab-view.

duxj099 avatar duxj099 commented on June 30, 2024

目前一个screen里最外面就是一个 tab-view ,请问有办法实现下拉刷新吗? 谢谢

我用的HFlatList。FlatList是 可以通过 refreshing 和 onRefresh 实现下拉刷新。 onEndReached 实现上拉加载。
这个组件解决了我的大问题,大神太厉害了

from react-native-head-tab-view.

fangasvsass avatar fangasvsass commented on June 30, 2024

@duxj099 headerRespond true 的情况下 ,header在flatlist上层 无法响应flatlist 下拉事件

from react-native-head-tab-view.

yafengHe avatar yafengHe commented on June 30, 2024

@duxj099 headerRespond true 的情况下 ,header在flatlist上层 无法响应flatlist 下拉事件

我也遇到这个问题了 你解决这个问题了吗

from react-native-head-tab-view.

star-heng avatar star-heng commented on June 30, 2024

@zyslife
headerRespond true 的情况下 ,下拉事件加了么

from react-native-head-tab-view.

zyslife avatar zyslife commented on June 30, 2024

@star-heng @yafengHe @ykjsw @DreamTravelingLight @duxj099
v2.0已经实现了标签页的下拉刷新功能。

from react-native-head-tab-view.

zyslife avatar zyslife commented on June 30, 2024

这个issue先关了,如果有其他问题,可以打开一个新的issue

from react-native-head-tab-view.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.