openweathermap api json volley response returning empty
My API url works in a browser, but for some reason all fields for the json object are returning as null. I have added the necessary internet permissions in the manifest, and am not sure why my objects are all null at the end of my api request. Here is my code:
private lateinit var requestQueue : RequestQueue
private lateinit var weather : JSONArray
private lateinit var currentWeather : JSONObject
private var id = 0
private lateinit var mainWeather : String
private lateinit var description :...