Binding data to ListView to display distance to nearby place using Google Places API with UWP <p>Currently, I have a project to display nearby places with UWP using Google Places API. I'm using ListView to display the numbers of nearby places and did successfully to display some basic information provided by API into my ListView. I have DataTemplate like this</p> <pre><code>&lt;DataTemplate x:Key="ResultPlaces"&gt; &lt;StackPanel Orientation="Vertical"&gt; ... &lt;Grid Grid.Column="2"&gt; &lt;TextBlock Text="{Binding placeDistance}" Foreground="#42424c" TextWrapping="Wrap" FontSize="12" Margin="10,0,0,0"/&gt; &lt;/Grid&gt; &lt;/Grid&gt; &lt;/StackPanel&gt; </code></pre> <p>And i also have the ListView like this</p> <pre><code>&lt;ListView Name="listPlace" ItemTemplate="{StaticResource ResultPlaces}"&gt; &lt;/ListView&gt; </code></pre> <p>I've parsing the JSON in result of API in code behind and make it to be my ListView.ItemsSource. The problem is the API don't provide distance object. So, I created a method to calculte distance between 2 places and use it to calculate every single result in API results. I'm also created get set property called placeDistance in class Result that provided API items result.</p> <p>This my get set property </p> <pre><code> public class Result { .... public Review[] reviews { get; set; } public int user_ratings_total { get; set; } public string placeDistance { get; set; } } </code></pre> <p>And this my code to calculate every single distance on Result</p> <pre><code>int lengthResult = placesList.results.Count(); for (int i = 0; i &lt; lengthResult; i++) { double myLat = placesList.results[i].geometry.location.lat; double myLong = placesList.results[i].geometry.location.lng; double myCurrentLat = Convert.ToDouble(parameters.lat); double myCurrentLong = Convert.ToDouble(parameters.longit); var newDistance = new Result(); newDistance.placeDistance = DistanceBetweenPlaces(myCurrentLong, myCurrentLat, myLong, myLat); } </code></pre> <p>When I deployed it into my phone, the other items in DataTemplate display correctly. But I couldn't get any distance text. Did I do something wrong ?</p>