title: react native FlatList Default scroll to the bottom
body: <p>I wanted to automatically scroll to the end after the data loading was completed, because I did the chat application.</p>
  
  <p>But I'm not satisfied with the current scheme.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>  componentDidMount(){
      setTimeout(()=&gt;this._scrollView.scrollToEnd({ animated: false }), 200)
    }</code></pre>
  </div>
  </div>
  </p>
  
  <p>This way will cause the content to flash when the page is rendered, because it is 200 milliseconds.</p>
  
  <p>How do you get a callback after the FlatList component has finished loading the data?</p>