s/moveToFirst/moveToNext/
This commit is contained in:
parent
9643fa6062
commit
10975feb49
|
@ -226,7 +226,7 @@ public class ActivityDatabaseHandler extends SQLiteOpenHelper implements DBHandl
|
||||||
int colSteps = cursor.getColumnIndex(KEY_STEPS);
|
int colSteps = cursor.getColumnIndex(KEY_STEPS);
|
||||||
int colType = cursor.getColumnIndex(KEY_TYPE);
|
int colType = cursor.getColumnIndex(KEY_TYPE);
|
||||||
int colCustomShort = cursor.getColumnIndex(KEY_CUSTOM_SHORT);
|
int colCustomShort = cursor.getColumnIndex(KEY_CUSTOM_SHORT);
|
||||||
while (cursor.moveToFirst()) {
|
while (cursor.moveToNext()) {
|
||||||
GBActivitySample sample = new GBActivitySample(
|
GBActivitySample sample = new GBActivitySample(
|
||||||
provider,
|
provider,
|
||||||
cursor.getInt(colTimeStamp),
|
cursor.getInt(colTimeStamp),
|
||||||
|
|
Loading…
Reference in New Issue