Back to project page android-blog.
The source code is released under:
MIT License
If you think the Android project android-blog 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 org.kevinmrohr.android_blog.async; /*w w w . j a v a 2s . c o m*/ import android.content.AsyncTaskLoader; import android.content.Context; import org.kevinmrohr.android_blog.model.BlogPost; import org.kevinmrohr.android_blog.service.BlogPostService; import java.util.List; public class BlogPostLoader extends AsyncTaskLoader<List<BlogPost>> { private BlogPostService service = new BlogPostService(); public BlogPostLoader(Context context) { super(context); } @Override public List<BlogPost> loadInBackground() { return service.getPosts(); } }