コード例 #1
0
    @Override
    protected void onPostExecute(Void blah) {
      BibleText bibleText = new SwordBibleText(bibleBook, chapter, verse, translation);
      SwordContentFacade.getInstance().injectChapterFromJsword(bibleText);
      ((MainActivity) getActivity()).updateBibleText(bibleText);

      //            new SwordVerseTask().execute(new SwordBibleText(bibleBook, chapter,
      // translation));
    }
コード例 #2
0
    @Override
    protected Void doInBackground(String... params) {
      bibleBook = params[0];
      chapter = Integer.valueOf(params[1]);
      verse = Integer.valueOf(params[2]);
      translation = params[3];

      // Initialise the Sword
      SwordContentFacade.getInstance();
      return null;
    }
コード例 #3
0
 @Override
 protected BibleText doInBackground(BibleText... params) {
   BibleText bibleText = params[0];
   SwordContentFacade.getInstance().injectChapterFromJsword(bibleText);
   return bibleText;
 }