Monday 11th June
This evening was a much more productive one than I was prepared for. It’s nice when you are in the zone and are feeling productive.
Playing Different Sounds
I’ve managed to get the databound sounds playing different sounds when clicked.
I still need to make the sound play only on ‘play’ button press and not the ListView ItemTapped event but that shouldn’t be too hard.
Without much effort i’ve put 22 sounds into app over half a dozen categories. These sounds and categories are mainly for testing, some may not make it into the final product, and there are a lot more I intend to add.
Playing Sound Issue
I’ve noticed that when playing sounds it can vary between playing 0.5 to 1 second of the sound. The full sound isn’t being played. It’s a bit erratic and something i’m sure to do with how I have implemented the sound playing code an async issue??. I’ll have to look into this.
Unexpectedly, I managed to get onto the Categories page.
This involved just getting a distinct list of categories of the sounds so far and databinding them to a ListView. Then when clicking an item, redirecting the user to a Category page passing the category name along as a parameter.
When an item in the Categories page is clicked it opens the appropriate Category page and lists sounds with that category.
An unexpectedly productive evening. More like this and i’ll be laughing.
- Play sound on button click
- Add to favourites
- Fix bottom nav layout