library/src/main/java/in/madapps/placesautocomplete/PlaceApi.kt
Method parseDetailsData
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private fun parseDetailsData(jsonResults: StringBuilder, listener: OnPlacesDetailsListener) {
val jsonObj = JSONObject(jsonResults.toString())
extendlog(jsonObj.toString())
val resultJsonObject = jsonObj.getJSONObject(RESULT)
val addressArray = resultJsonObject.getJSONArray(ADDRESS_COMPONENTS)