Back to project page fieldreporter.
The source code is released under:
Apache License
If you think the Android project fieldreporter 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.donnemartin.android.fieldreporter; /*from w w w. j a v a 2 s .c o m*/ import android.content.Context; class ReportLoader extends DataLoader<Report> { private long mReportId; public ReportLoader(Context context, long reportId) { super(context); mReportId = reportId; } @Override public Report loadInBackground() { return ReportManager.get(getContext()).getReport(mReportId); } }