app/src/main/java/com/voices/ui/activity/HomeActivity.java
/**
     * Create the dictionary with predefined word set
     */
Create the dictionary with predefined word set
Create the dictionary with predefined word set
private void createDictionary() {
        dictionary = new Dictionary();
        dictionaryArray = dictionary.createDictionary(this.getResources());
        if (dictionaryArray != null)
            dictionaryListAdapter.refreshAdapter(dictionaryArray);
        else
            AppUtils.showToast(this, getString(R.string.error_something_went_wrong));
    }
private void createDictionary ( ) { dictionary = new Dictionary ( ) ; dictionaryArray = dictionary . createDictionary ( this . getResources ( ) ) ; if ( dictionaryArray != null ) dictionaryListAdapter . refreshAdapter ( dictionaryArray ) ; else AppUtils . showToast ( this , getString ( R . string . error_something_went_wrong ) ) ; }
Create the dictionary with predefined word set
Create the dictionary with predefined word set