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

Public Member Functions | |
| QuizDb (Context context) | |
| void | open () throws SQLException |
| boolean | isOpen () |
| void | close () |
| void | markAnswered (int id, int answer) |
| void | markUnAnswered (int id) |
| void | resetCount () |
| int[] | getStatistics () |
| Cursor | getQuestionCursorById (int id) |
| long | getCountQuestions () |
| int | bulkInsertQuestions (@NonNull ContentValues[] values) |
Private Attributes | |
| final QuizDBHelper | dbHelper |
| SQLiteDatabase | db |
Static Private Attributes | |
| static final String | EQUAL = " == " |
Contains database util functions for quiz template's app.
Created by Anupam (opticod) on 11/8/16.
| org.buildmlearn.quiztime.data.QuizDb.QuizDb | ( | Context | context | ) |
| int org.buildmlearn.quiztime.data.QuizDb.bulkInsertQuestions | ( | @NonNull ContentValues[] | values | ) |
| void org.buildmlearn.quiztime.data.QuizDb.close | ( | ) |
| long org.buildmlearn.quiztime.data.QuizDb.getCountQuestions | ( | ) |
| Cursor org.buildmlearn.quiztime.data.QuizDb.getQuestionCursorById | ( | int | id | ) |
| int [] org.buildmlearn.quiztime.data.QuizDb.getStatistics | ( | ) |
| boolean org.buildmlearn.quiztime.data.QuizDb.isOpen | ( | ) |
| void org.buildmlearn.quiztime.data.QuizDb.markAnswered | ( | int | id, |
| int | answer | ||
| ) |
| void org.buildmlearn.quiztime.data.QuizDb.markUnAnswered | ( | int | id | ) |
| void org.buildmlearn.quiztime.data.QuizDb.open | ( | ) | throws SQLException |
| void org.buildmlearn.quiztime.data.QuizDb.resetCount | ( | ) |
|
private |
|
private |
|
staticprivate |
1.8.11