2 October 2011

Some small changes!

I've decided to change the entry point GUI so that instead of displaying two buttons for checking the latest results and older results. Instead you now get a ListView with all of the different lottery games. This solves a number of problems, the first being that I can remove the functionality of searching for older results from this iterations design specs. I can maybe integrate that functionality in at a later point. The second thing this change does is make the user interface look a lot better. The following is a screenshot of the new layout.

The third thing that these changes have affected is that now because the game type that the app is looking for the results of is being passed through with the intent, the app can stop trying to parse results from the lotto results webpage once it has found what it's looking for which makes the whole process quicker. It also means my code is more organised now because I've created a function to check for each individual game which gets called based on the game type. With this approach I can modify how it parses each type of game result. This is important because not every game has the same amount of numbers and the formatting changes slightly for each game. Only the Lotto and Monday Millions have the exact same formatting.

No comments:

Post a Comment