Skip to content
New issue

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

Animations not working in Android #30

Open
kunsachdeva opened this issue Jul 4, 2016 · 5 comments
Open

Animations not working in Android #30

kunsachdeva opened this issue Jul 4, 2016 · 5 comments

Comments

@kunsachdeva
Copy link

Following is my code for a component in my react native android app. Everything is working fine but the animation. Did I do something wrong? Or anyone else facing this issue?

export default class Home extends Component {
  constructor(props){
    super(props);
    var ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
    this.state={dataSource:ds.cloneWithRows(['row 1', 'row 2'])}
  }
  render() {
    return (
      <ListView
        dataSource={this.state.dataSource}
        renderRow={this._renderRow}
      />
    );
  }

  _renderRow() {
    var header = (
      <View style={{height:80}}>
        <Text>Click to Expand</Text>
      </View>
    );

    var content = (
      <View style={{height:80}}>
        <Text>This content is hidden in the accordion</Text>
      </View>
    );

    return (
      <Accordion
        header={header}
        content={content}
        duration={3000}
        easing="easeInBounce"
      />
    );
  }
@frankandrobot
Copy link

same here. Animations don't work. Trying on actual phone

@LucasBassetti
Copy link

same here.

@nicmesan
Copy link

Same here

@thireven
Copy link

thireven commented Nov 5, 2016

My PR addresses this issue: #42

@saumya
Copy link

saumya commented Nov 30, 2016

same problem here too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants