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