Back to project page android-intro.
The source code is released under:
MIT License
If you think the Android project android-intro 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.example.app.api; /*w w w . j av a 2s. c o m*/ import com.android.volley.Request; import com.android.volley.Response; /** * Created by andy on 3/12/14. */ public class GitHubRequestManager { public static GitHubRequest<EventsResponse> getEventRequest(Response.ErrorListener errorListener, Response.Listener<EventsResponse> listener, String organization) { String path = String.format("orgs/%s/events", organization); GitHubRequest<EventsResponse> request = new GitHubRequest<EventsResponse>(Request.Method.GET, path, errorListener, listener, EventsResponse.class); return request; } }