Back to project page Svnit-Events.
The source code is released under:
MIT License
If you think the Android project Svnit-Events 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.bhatt.ramani.svnitevents; /*from ww w . j av a 2s.c o m*/ import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import com.bhatt.ramani.svnitevents.models.People; import java.util.List; public class PeopleListLoader extends AsyncTaskLoader<List<People>> { public PeopleListLoader(Context context) { super(context); } @Override public List<People> loadInBackground() { EventHttpClient httpClient = new EventHttpClient(EventHttpClient.UrlType.PEOPLE); String data = httpClient.getConferenceData(); if (data != null && !"".equals(data)) { return PeopleJSONParser.getPeoples(data); } return null; } }