Unscramble is a single player game app that displays scrambled words. To play the game, player has to make a word using all the letters from the displayed scrambled word.
- Android architecture components are used in this app for better performance with less number of lines of codes and removes redundancy.
- ViewModel is used for the data modelling to save the app state during configuration changes.
- Data stored in the ViewModel is encapsulated with LiveData and added observer methods to observe changes in LiveData.
- The observer methods get notified when the data changes, and update the scrambled word text view automatically.
- Data binding is used and the binding expressions in the layout file will be triggered
when the LiveData changes. The score, word count and the unscrambled word text views in
the app are updated automatically.