Showing 1 of 1 total issue
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)