Skip to content

Instantly share code, notes, and snippets.

@odrotbohm
Created July 1, 2019 09:57
Show Gist options
  • Save odrotbohm/e212eb04ba6c7e9cf1b96417b46eb4ab to your computer and use it in GitHub Desktop.
Save odrotbohm/e212eb04ba6c7e9cf1b96417b46eb4ab to your computer and use it in GitHub Desktop.
Proposal – Leveraging hypermedia in Android clients

Hypermedia in Android clients

Context

When it comes to JVM based clients of REST / HTTP APIs, Android is the most dominant platform. There are a variety of HTTP client libraries available for Android, but none of them have dedicated support to work with hypermedia elements (like links and forms) or late binding of data. Using those elements is crucial to avoid strong coupling between client and server. See this presentation (slides, recording for details.

Idea

The idea is to explore options to better support working with hypermedia elements in Android applications. There are rudimentary drafts available in the Spring RESTBucks project but we’d like to look into a more general solution.

The implementation language is very likely to be Kotlin. OkHttp seems to be a decent foundation especially with its recent move to Kotlin.

Requirements

The following requirements describe some corner stones on what’s needed to work on that. Please don’t hesitate to get in touch if you miss out on some of those:

  • Android development experience

    • Kotlin

    • Understanding of the threading model (workers VS. UI)

  • Interest in advanced REST concepts (hypermedia, forms, late binding)

Contact

Please get in touch via Twitter at @odrotbohm. DMs are open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment