Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 :