GraphQL and Android

GraphQL is a rapidly-ascending alternative to REST for implementing Web services. Developed by Facebook, GraphQL is popular in Web development. And, where Web service development goes, mobile app development — including Android — inevitably follows.

This book helps you understand what GraphQL is and how to communicate with a GraphQL server, both in terms of GraphQL specifications and syntax and in terms of Android code for reaching those servers.

This book is published in PDF, EPUB, and MOBI/Kindle formats, for use in your favorite digital book reader. Or, read directly in your Web browser on the Warescription site, complete with full-text searching.

Subscribe for $20 »

The Table of Contents

Each bullet shown below represents a chapter. Use the search field in the nav bar to search all of the CommonsWare books to see what they hold!

  • GraphQL in Five Minutes
  • The Role of GraphQL
  • Top-Level GraphQL Terms
  • GraphQL Test Environments
  • Basic Dynamic GraphQL in Android
  • Basic Static GraphQL in Android
  • Objects, Fields, and Types
  • Fragments
  • Arguments and Variables
  • Aliases
  • Interfaces, Unions, and Inline Fragments
  • Miscellaneous GraphQL Syntax
  • Introspection
  • Authentication and the Viewer Pattern
  • Queries and Paging
  • Securing GraphQL
  • Testing GraphQL
  • Advanced Apollo-Android
profile for CommonsWare at Stack Overflow, Q&A for professional and enthusiast programmers

What's New

  • New chapter on paginated GraphQL responses and the Relay connection pattern
  • Partial new chapter on advanced Apollo-Android techniques


Spread the Word!