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; // w w w . java2s . c o m import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import com.bhatt.ramani.svnitevents.models.Session; import java.util.List; public class ScheduleListLoader extends AsyncTaskLoader<List<Session>> { public ScheduleListLoader(Context context) { super(context); } @Override public List<Session> loadInBackground() { EventHttpClient httpClient = new EventHttpClient(EventHttpClient.UrlType.SCHEDULE); String data = httpClient.getConferenceData(); if (data != null && !"".equals(data)) { return ScheduleJSONParser.getSchedule(data); } return null; } }