hello can anyone help me convert this code to kotl...
# getting-started
o
hello can anyone help me convert this code to kotlin?
Copy code
client.searchCityByLocation(WeatherClient.createDefaultCriteria(), new WeatherClient.CityEventListener() {

            @Override
            public void onCityListRetrieved(List<City> cityList) {
                // Here your logic when the data is available
            }

            @Override
            public void onWeatherError(WeatherLibException wle) {

            }

            @Override
            public void onConnectionError(Throwable t) {

            }
        });