![]() |
BuildmLearn-Toolkit-Android
2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
|
Contains database util functions for quiz template's simulator. More...

Public Member Functions | |
| QuizDb (Context context) | |
| void | open () throws SQLException |
| void | close () |
| void | markAnswered (int id, int answer) |
| void | markUnAnswered (int id) |
| void | deleteAll () |
| 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 simulator.
Created by Anupam (opticod) on 14/8/16.
| org.buildmlearn.toolkit.quiztemplate.data.QuizDb.QuizDb | ( | Context | context | ) |
| int org.buildmlearn.toolkit.quiztemplate.data.QuizDb.bulkInsertQuestions | ( | @NonNull ContentValues[] | values | ) |
| void org.buildmlearn.toolkit.quiztemplate.data.QuizDb.close | ( | ) |
| void org.buildmlearn.toolkit.quiztemplate.data.QuizDb.deleteAll | ( | ) |
| long org.buildmlearn.toolkit.quiztemplate.data.QuizDb.getCountQuestions | ( | ) |
| Cursor org.buildmlearn.toolkit.quiztemplate.data.QuizDb.getQuestionCursorById | ( | int | id | ) |
| int [] org.buildmlearn.toolkit.quiztemplate.data.QuizDb.getStatistics | ( | ) |
| void org.buildmlearn.toolkit.quiztemplate.data.QuizDb.markAnswered | ( | int | id, |
| int | answer | ||
| ) |
| void org.buildmlearn.toolkit.quiztemplate.data.QuizDb.markUnAnswered | ( | int | id | ) |
| void org.buildmlearn.toolkit.quiztemplate.data.QuizDb.open | ( | ) | throws SQLException |
| void org.buildmlearn.toolkit.quiztemplate.data.QuizDb.resetCount | ( | ) |
|
private |
|
private |
|
staticprivate |
1.8.11