Skip to content

thedeveloperworldisyours/GraphQLwithRetrofit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 

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

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

to

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

You can find more information in this blog.

The developer world is yours

Requirements

- Android Studio

- Gradle

Installation

- Install Android Studio:

https://developer.android.com/sdk/installing/index.html

- Install gradle:

http://gradle.org/docs/current/userguide/installation.html

Usage

Compile with Android Studio and gradle

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

Developed By

Add me to Linkedin

License

Copyright 2020 Javier González

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,

About

😎 Dynamic GraphQL querys with Retrofit on Android \ (•◡•) /

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages