/** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.i(TAG, "Displaying ensure-bible-downloaded"); setContentView(R.layout.ensure_bible_downloaded); if (SwordDocumentFacade.getInstance().getBibles().size() > 0) { gotoMainScreen(); } }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.search_index_status); hideButtons(); setMainText(getString(R.string.indexing_wait_msg)); String docInitials = getIntent().getStringExtra(SearchControl.SEARCH_DOCUMENT); documentBeingIndexed = SwordDocumentFacade.getInstance().getDocumentByInitials(docInitials); }