Weather_Apk_Android_using_OpenWeatherApi

Features

  • Display current weather information for a specified location.
  • Fetch weather data from the OpenWeatherMap API via Retrofit.
  • Display temperature, weather condition, wind speed & climate.

retrofit dependency

  implementation ("com.squareup.retrofit2:retrofit:2.9.0")

gson converter dependency

  implementation ("com.squareup.retrofit2:converter-gson:2.9.0")

javax annotation dependency

  implementation ("javax.annotation:javax.annotation-api:1.3.2")

dependency to avoid duplicate class

  implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
Screen-record-18aa36f7785_001.mp4