Git Product home page Git Product logo

Comments (6)

jsdf avatar jsdf commented on June 29, 2024

The trunk version? Do you mean 0.4.2? If so, I'm not able to reproduce the issue.

from react-native-refreshable-listview.

soheil-zz avatar soheil-zz commented on June 29, 2024

The version when you do a Github pull.

On Sun, May 10, 2015 at 5:57 AM, James Friend [email protected]
wrote:

The trunk version? Do you mean 0.4.2? If so, I'm not able to reproduce the
issue.


Reply to this email directly or view it on GitHub
#12 (comment)
.

from react-native-refreshable-listview.

jsdf avatar jsdf commented on June 29, 2024

Can you give me the commit SHA of the version of react-native which is presenting the issue?
Or better even better, a minimal demo of the issue? As I have been unable to reproduce it.

from react-native-refreshable-listview.

thomasrose avatar thomasrose commented on June 29, 2024

I could not get the spinner to appear when passing a renderHeader method, it works fine when using renderSectionHeader

from react-native-refreshable-listview.

jsdf avatar jsdf commented on June 29, 2024

Oh. I'm guessing you guys aren't rendering the refreshing indicator which is passed as the first arg to renderHeader. If this API is tripping people up then I guess I should change it. Here's the correct usage:

React.createClass({
  renderHeader(refreshingIndicator) {
    return (
      <View>
        <Text>My custom header</Text>
        {/*  you MUST render the refreshingIndicator (which is passed in as the first argument) */}
        {refreshingIndicator}
      </View>
    )
  },
  render() {
    return (
      <RefreshableListView renderHeader={this.renderHeader} />
    )
  }
})

from react-native-refreshable-listview.

jsdf avatar jsdf commented on June 29, 2024

Published a new version where renderHeader becomes renderHeaderWrapper

from react-native-refreshable-listview.

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.