コード例 #1
0
 List<Joke> getAllJokes() {
   List<String> jokeKeys = mNotificationHelper.getJokeKeys();
   return mJokeHelper.getJokes(jokeKeys.toArray(new String[jokeKeys.size()]));
 }
コード例 #2
0
 NotificationDbManager(Context context) {
   mNotificationHelper = NotificationDbHelper.getInstance(context);
   mJokeHelper = JokeDbHelper.getInstance(context);
 }