Back to project page checkin.
The source code is released under:
# License Copyright ? 2014 Sam Whited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ?Software??), to deal ...
If you think the Android project checkin 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.samwhited.checkin; // www.ja v a 2 s.c o m import android.content.Context; import android.content.CursorLoader; import android.database.Cursor; import android.net.Uri; import com.samwhited.checkin.database.CheckInDB; public class CheckInListLoader extends CursorLoader { /** * The context for the {@link com.samwhited.checkin.database.CheckInDB}. */ private final Context context; /** * Creates an empty unspecified CursorLoader. You must follow this with * calls to {@link #setUri(Uri)}, {@link #setSelection(String)}, etc * to specify the query to perform. * * @param context The context for the cursor loader. */ public CheckInListLoader(final Context context) { super(context); this.context = context.getApplicationContext(); } @Override public Cursor loadInBackground() { return (new CheckInDB(context)).selectRecords(); } }