Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.63 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.63 KB

weatherApp

main features:

  • user can search with city name to get weather data about this city
  • user can get weather data by accessing GPS
  • user can change degree from Celsius to Fahrenheit by using top menu
  • Weather data (city degree - pressure - feels like )

Live Demo:

https://drive.google.com/file/d/1SRniMyT_zq-D6hxbPSA0GkhviO0RfFmR/view?usp=sharing

Tools & libraries

Required Dependencies:

def lifecycle_version = "2.2.0"
  • implementation 'com.squareup.retrofit2:retrofit:2.9.0' // API calling
  • implementation 'com.google.code.gson:gson:2.8.6' // JSON parsing
  • implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  • implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
  • implementation 'com.squareup.okhttp3:okhttp:4.9.0'
  • implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
  • implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
  • implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
  • implementation 'com.google.android.gms:play-services-location:17.1.0'
screenshots

image image image image