Skip to content

Commit

Permalink
fix: Add missing usageCount property
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-elimu committed Nov 28, 2023
1 parent 24e5e8c commit cba850d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ public static LetterSoundGson getLetterSoundGson(Cursor cursor) {
Integer revisionNumber = cursor.getInt(columnIndexRevisionNumber);
Log.i(CursorToLetterSoundGsonConverter.class.getName(), "revisionNumber: " + revisionNumber);

int columnIndexUsageCount = cursor.getColumnIndex("usageCount");
Integer usageCount = cursor.getInt(columnIndexUsageCount);
Log.i(CursorToLetterSoundGsonConverter.class.getName(), "usageCount: " + usageCount);

LetterSoundGson letterSound = new LetterSoundGson();
letterSound.setId(id);
letterSound.setRevisionNumber(revisionNumber);
letterSound.setUsageCount(usageCount);
// TODO: letterSound.setLetters(letters);
// TODO: letterSound.setSounds(sounds);

Expand Down

0 comments on commit cba850d

Please sign in to comment.