Exemplo n.º 1
0
 /**
  * Get Stared Questions.
  *
  * @return mQuestions
  */
 public ArrayList<Question> getStaredQuestions() {
   return mQuestionsDatabase.getStaredQuestions();
 }
Exemplo n.º 2
0
 @Override
 public void onDestroy() {
   mQuestionsDatabase.close();
   super.onDestroy();
 }
Exemplo n.º 3
0
 /**
  * Get Recent Questions By Update Time.
  *
  * @return mQuestions
  */
 public ArrayList<Question> getRecentQuestion() {
   return mQuestionsDatabase.getRecentQuestions();
 }