title: React native pass property for async
body: <p>So I got an array with a ton of fields that are bound to <code>&lt;Text&gt;</code></p>
  
  <p>Now I also have a button in here. What I want to do is onclick I want to go to a function onSubmit which also takes the value <code>session.gameId</code> and puts it in asyncstorage.</p>
  
  <pre><code>  {this.state.sessions.map((session, index) =&gt; {
  
                  return (
                      &lt;View style={styles.cardContainer}&gt;
  
  
                  &lt;Text style={styles.title} &gt;{session.title}&lt;/Text&gt;
                          &lt;Text style={styles.text}&gt;Organisator: {session.organizer}&lt;/Text&gt;
                          &lt;Text style={styles.text}&gt;Hoofd Thema: {session.mainTheme}&lt;/Text&gt;
                          &lt;Text style={styles.text}&gt;Aantal Deelnemers: {session.numberParticipants}&lt;/Text&gt;
                          &lt;Text style={styles.text}&gt;Game Id: {session.gameId}&lt;/Text&gt;
                          &lt;TouchableOpacity style={styles.buttonContainer} &gt;
  
                              &lt;Text style={styles.buttonText} onPress={this.onSubmit} value={session.gameId} &gt;
                                 Selecteer
                              &lt;/Text&gt;
                          &lt;/TouchableOpacity&gt;
  </code></pre>
  
  <p>But I have no idea how my onsubmit can handle both an event to change page after storing the value into asyncstorage</p>
  
  <p>Please help</p>