Back to project page PatternAndroid.
The source code is released under:
MIT License
If you think the Android project PatternAndroid 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.twitterclone.model; //www. j av a 2s. co m import com.foxykeep.datadroid.requestmanager.RequestManager; import com.twitterclone.model.service.RestService; import android.content.Context; public final class RestRequestManager extends RequestManager { private RestRequestManager(Context context) { super(context, RestService.class); } private static RestRequestManager sInstance; public static RestRequestManager from(Context context) { if (sInstance == null) { sInstance = new RestRequestManager(context); } return sInstance; } }