![]() |
Toolkit-mobile-templates
2.0.0
This repository contains the template applications of the toolkit.
|
Contains database util functions for spell template's app. More...

Public Member Functions | |
| SpellDb (Context context) | |
| void | open () throws SQLException |
| boolean | isOpen () |
| void | close () |
| void | markAnswered (int id, String answer) |
| void | resetCount () |
| int[] | getStatistics () |
| Cursor | getSpellingCursorById (int id) |
| long | getCountSpellings () |
| int | bulkInsertSpellings (@NonNull ContentValues[] values) |
Private Member Functions | |
| void | markUnAnswered (int id) |
Private Attributes | |
| final SpellDBHelper | dbHelper |
| SQLiteDatabase | db |
Static Private Attributes | |
| static final String | EQUAL = " == " |
Contains database util functions for spell template's app.
Created by Anupam (opticod) on 1/6/16.
| org.buildmlearn.learnspellings.data.SpellDb.SpellDb | ( | Context | context | ) |
| int org.buildmlearn.learnspellings.data.SpellDb.bulkInsertSpellings | ( | @NonNull ContentValues[] | values | ) |
| void org.buildmlearn.learnspellings.data.SpellDb.close | ( | ) |
| long org.buildmlearn.learnspellings.data.SpellDb.getCountSpellings | ( | ) |
| Cursor org.buildmlearn.learnspellings.data.SpellDb.getSpellingCursorById | ( | int | id | ) |
| int [] org.buildmlearn.learnspellings.data.SpellDb.getStatistics | ( | ) |
| boolean org.buildmlearn.learnspellings.data.SpellDb.isOpen | ( | ) |
| void org.buildmlearn.learnspellings.data.SpellDb.markAnswered | ( | int | id, |
| String | answer | ||
| ) |
|
private |
| void org.buildmlearn.learnspellings.data.SpellDb.open | ( | ) | throws SQLException |
| void org.buildmlearn.learnspellings.data.SpellDb.resetCount | ( | ) |
|
private |
|
private |
|
staticprivate |
1.8.11