title: my Accordion list expanded all items at same time (react native elements)
body: <p>I use react-native-elements library.
  in <strong>ListItem Accordion</strong> there is onPress option to expand and unexpand list items.
  but when I press one item, all of items expand!
  <a href="https://i.stack.imgur.com/kyjEI.png" rel="nofollow noreferrer">screen shot 1</a></p>
  <p><a href="https://i.stack.imgur.com/rsTZD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rsTZD.png" alt="screen shot 2" /></a></p>
  <p>here is part of my code:</p>
  <pre><code>export class MyList extends Component {
  
    state= {
      expanded:false,
    };  
    constructor(props) {
      super(props);
      this.state = {
        expanded:false
      };
    }
    handleToggle=()=&gt;{
      const {expanded}=this.state;
      if(expanded){
        this.setState({expanded:false});
      }else{
        this.setState({expanded:true})
      }
    }
    render() {
      
      return (
        ...
          &lt;View&gt;
          {list.map((l, i) =&gt; (
          &lt;ListItem.Accordion key={i}
    content={
      &lt;&gt;
        &lt;ListItem.Content&gt;
        &lt;ListItem.Title&gt;{l.name}&lt;/ListItem.Title&gt;
          &lt;Avatar title={l.name[0]} source={{ uri: l.avatar_url }} /&gt;
        &lt;/ListItem.Content&gt;
      &lt;/&gt;
    }
    isExpanded={this.state.expanded}
    onPress={this.handleToggle}
    
  &gt;
    
      &lt;ListItem  key={i} bottomDivider&gt;
        
        &lt;ListItem.Content&gt;
          
          &lt;ListItem.Subtitle&gt;{l.city}&lt;/ListItem.Subtitle&gt;
          &lt;View style={styles.subtitleView}&gt;
            &lt;Image source={require('../Images/4.5_stars.svg.png')} style={styles.ratingImage}/&gt;
            &lt;Text style={styles.ratingText}&gt;5 votes&lt;/Text&gt;
          &lt;/View&gt;
        &lt;/ListItem.Content&gt;
        &lt;ListItem.Chevron /&gt;
      &lt;/ListItem&gt;
    
  &lt;/ListItem.Accordion&gt;
  ))}
   ...
  </code></pre>
  <p>is it my props problem?? if yes, how can I pass the item for each &quot;onPress&quot;??</p>