Hi folks,
I am playing with building an app for my rugby team, and I've got good chunks of it working.
Where I'm struggling is with the teams - and it's probably that I'm approaching it from the wrong direction - and being able to update the player names depending on the current selection.
I can pull the existing names from the database and populate a listview, but I need to be able to select an entry, change the name, and have it push the new name back into the database. Further down the line I'll be wanting to update multiple columns - e.g. player status. Again, I can display this in a custom ListView but can't work out how to get the info updated and pushed back into the db.
It may be that a ListView is the wrong tool for this, if so can you advise and hopefully point me at a tutorial or two that will help me get me head around it.
Thanks in advance.
I am playing with building an app for my rugby team, and I've got good chunks of it working.
Where I'm struggling is with the teams - and it's probably that I'm approaching it from the wrong direction - and being able to update the player names depending on the current selection.
I can pull the existing names from the database and populate a listview, but I need to be able to select an entry, change the name, and have it push the new name back into the database. Further down the line I'll be wanting to update multiple columns - e.g. player status. Again, I can display this in a custom ListView but can't work out how to get the info updated and pushed back into the db.
It may be that a ListView is the wrong tool for this, if so can you advise and hopefully point me at a tutorial or two that will help me get me head around it.
Thanks in advance.