ah ha you got the point. there isnt any, as far as i know. but in fact in
some cases, cursor could be used to display directly a list.
2014-6-4 上午9:59于 "YANSHUO HUANG" <notifications@github.com>写道：

> In src/fr/utt/isi/nomp_mobile/models/Offer.java:
>
> > +	}
> > +
> > +	@Override
> > +	public List<Offer> list() {
> > +		// prepare the query
> > +		String query = "SELECT * FROM " + NOMPDataContract.Offer.TABLE_NAME
> > +				+ " ORDER BY _id DESC";
> > +
> > +		SQLiteDatabase readable = this.getReadableDatabase();
> > +		Cursor c = readable.rawQuery(query, null);
> > +
> > +		ArrayList<Offer> offerList = new ArrayList<Offer>(c.getCount());
> > +
> > +		if (c.moveToFirst()) {
> > +			do {
> > +				Offer offer = new Offer(context);
>
> No wonder why Android can't really compete with iOS, even Object-C don't
> need this shit. In Java there's no something like "fetch_array" in PHP?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mrstrlc-yipeng/NOMP-Mobile/pull/5/files#r13374833>.
>