Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panditsamik/weather-studio
https://github.com/panditsamik/weather-studio
api dexter-library gson kotlin-android retrofit
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/panditsamik/weather-studio
- Owner: panditsamik
- Created: 2022-10-11T20:11:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-11T20:53:14.000Z (about 2 years ago)
- Last Synced: 2024-04-18T05:19:12.866Z (9 months ago)
- Topics: api, dexter-library, gson, kotlin-android, retrofit
- Language: Kotlin
- Homepage:
- Size: 358 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather-Studio
Weather Studio is a weather forecast app built in Kotlin using Retrofit, Gson library and
Dexter library.## Link to the API:
##### Examples of API calls
#### For more information :
## Retrofit
A type-safe HTTP client for Android and Java.#### For more information :
## Gson
Gson is a Java library that can be used to convert
Java Objects into their JSON representation. It can
also be used to convert a JSON string to an equivalent
Java object. Gson can work with arbitrary Java objects
including pre-existing objects that you do not have
source-code of.## Download
##### Gradle
`
dependencies {
implementation 'com.google.code.gson:gson:2.9.1'
}
`##### Maven
`com.google.code.gson
gson
2.9.1`
#### For more information :
## Dexter
Android library that simplifies the process of requesting permissions at runtime.##### Dependency
Include the library in your build.gradle
`
dependencies{
implementation 'com.karumi:dexter:6.2.3'
}
`To start using the library you just need to call Dexter with a valid Context:
`
public MyActivity extends Activity {
@Override public void onCreate() {
super.onCreate();
Dexter.withContext(activity)
.withPermission(permission)
.withListener(listener)
.check();
}
}
`
#### For more information :