title: Save a LatLng array into a database
body: <p>I want to save my track as a list of LatLng in the database. For that, I intend to convert it as a string and then to save in a string field.</p>
  
  <p>For conversion, I have tried to use this code:</p>
  
  <pre><code>final ArrayList&lt;LatLng&gt; waypoints = new ArrayList&lt;&gt;();
  waypoints.addAll(Stream.of(mFavorites)
           .map(i -&gt; coordToLatLng(i.Latitude, i.Longitude))
           .toList());
  
  
  Toast.makeText(this, waypoints, Toast.LENGTH_SHORT).show();
  </code></pre>
  
  <p>and then will save as waypoints.toString to database.</p>
  
  <p>Any better suggestion how to solve my need?</p>