Skip to content

Instantly share code, notes, and snippets.

@FilipeLipan
Created April 18, 2018 14:31
Show Gist options
  • Save FilipeLipan/ab0a54c89e4c357abe2ef54a9db00217 to your computer and use it in GitHub Desktop.
Save FilipeLipan/ab0a54c89e4c357abe2ef54a9db00217 to your computer and use it in GitHub Desktop.
lateinit var githubRepositoriesCall: ApolloCall<LoadGithubRepositoriesQuery.Data>
********
val loadGithubMembersQuery: LoadGithubRepositoriesQuery = LoadGithubRepositoriesQuery.builder()
.login("FilipeLipan")
.build();
githubRepositoriesCall = application.apolloClient()
.query(loadGithubMembersQuery)
.responseFetcher(ApolloResponseFetchers.NETWORK_FIRST);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment