private void InitWordList()
        {
            _wordListModel = new WordListModel();

            var wordList = WordListCreator.CreateDefaultWordList();

            _wordListModel.AddWords(wordList);
            WordList = CreateWords(wordList);
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(WordList)));
        }
Example #2
0
    private void UpdateSpellingList(WordListModel wordStrings)
    {
        SpellingList = new WordList(wordStrings.words);

        spellingListText.SetText(wordStrings.title);
    }
Example #3
0
 public PageWordList()
 {
     InitializeComponent();
     DataContext = new WordListModel();
 }