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