Back to project page lastfm-android-music-discovery.
The source code is released under:
Apache License
If you think the Android project lastfm-android-music-discovery 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.mikeladze.musicdiscovery.http; //w w w . ja va2 s. c om import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.AsyncHttpResponseHandler; /** * The RestClient is used to access RESTful APIs in an async manner. * * @author Tim Mikeladze */ public class RestClient { private static AsyncHttpClient client = new AsyncHttpClient(); /** * Gets the data at given url. * * @param url the url * @param responseHandler the response handler */ public static void get(String url, AsyncHttpResponseHandler responseHandler) { client.get(url, responseHandler); } }