(Cursor c)
| 167 | } |
| 168 | |
| 169 | private List<T> createObjects(Cursor c) { |
| 170 | List<T> items = new ArrayList<T>(); |
| 171 | |
| 172 | while(c.moveToNext()) { |
| 173 | T object = Model.createObject(mClass, c); |
| 174 | |
| 175 | if(object != null) { |
| 176 | items.add(object); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | return items; |
| 181 | } |
| 182 | |
| 183 | private List<T> getItems() { |
| 184 | if(mItems == null) { |
no test coverage detected