项目作者: thedeveloperworldisyours

项目描述 :
😎 Dynamic GraphQL querys with Retrofit on Android \ (•◡•) /
高级语言: Kotlin
项目地址: git://github.com/thedeveloperworldisyours/GraphQLwithRetrofit.git


GraphQLwithRetrofit

GraphQL with Retrofit on Android

The app calls to graphql-weather-api


GraphQL on Android

Note:

if you need a mutation should be to change this line

  1. paramObject.put("query", "query {users(userid:$userId){username}}")

to

  1. paramObject.put("query", "mutation {users(userid:$userId){username}}")

You can find more information in this blog.


The developer world is yours

Requirements

  1. - Android Studio
  2. - Gradle

Installation

  1. - Install Android Studio:
  2. https://developer.android.com/sdk/installing/index.html
  3. - Install gradle:
  4. http://gradle.org/docs/current/userguide/installation.html

Usage

  1. Compile with Android Studio and gradle

Feel free to contribute, and contact me for any issues.

Developed By


Add me to Linkedin

License

  1. Copyright 2020 Javier González
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,