use of com.ushahidi.android.app.models.ListPhotoModel in project Ushahidi_Android by ushahidi.
the class UploadPhotoAdapter method refresh.
public void refresh(int reportId) {
mListPhotoModel = new ListPhotoModel();
items = mListPhotoModel.getPendingPhotosByReportId(reportId);
this.setItems(items);
}
use of com.ushahidi.android.app.models.ListPhotoModel in project Ushahidi_Android by ushahidi.
the class UploadPhotoAdapter method pendingPhotos.
public List<File> pendingPhotos(int reportId) {
mListPhotoModel = new ListPhotoModel();
items = mListPhotoModel.getPendingPhotosByReportId(reportId);
return getPhotos(items);
}
Aggregations