@@ -0,0 +1,765 @@
+package com.mignot.kumar.utils;%0A%0Aimport android.location.Location;%0Aimport android.support.annotation.NonNull;%0A%0A/**%0A * Utility class to handle distance calculations%0A */%0Apublic final class DistanceCalculator %7B%0A  private DistanceCalculator()%7B%7D%0A%0A  @NonNull%0A  public static Float getDistanceBetween (@NonNull Double latA,%0A                                          @NonNull Double longA,%0A                                          @NonNull Double latB,%0A                                          @NonNull Double longB) %7B%0A    Location locA = new Location(%22Location A%22);%0A    Location locB = new Location(%22Location B%22);%0A    locA.setLatitude(latA);%0A    locA.setLongitude(longA);%0A    locB.setLatitude(latB);%0A    locB.setLongitude(longB);%0A    return locA.distanceTo(locB);%0A  %7D%0A%7D%0A

implement DistanceCalculator