Back to project page octodroid.
The source code is released under:
MIT License
If you think the Android project octodroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.rejasupotaro.octodroid; /*w w w. j av a2 s .co m*/ import com.google.gson.Gson; import com.rejasupotaro.octodroid.http.ApiClient; public class GitHub { private static GitHubClient client; public static GitHubClient client() { if (client == null) { synchronized (GitHub.class) { if (client == null) { client = new GitHubClient(new ApiClient()); } } } return client; } public static void gson(Gson gson) { GsonProvider.set(gson); } }