I'm very new to Java so please forgive any mistakes I make.
I'm currently developing an automated TODO list application that sorts through a list of tasks inputted by the user and prioritizes the more important ones.
After the user has added the task, it will be added into an SQLite database. I'd like to know how I could associate an Integer with each individual task.
For example: Say there's an Integer called Priority which has a default value of 10. With each task that's added they begin with a default value of Priority = 10 but change according to user demand.
So if one task's default value is Priority = 10, Priority could increase 11, whereas another task on the same list that starts at Priority = 10 may be reduced to Priority = 9. I'm very unsure as to how I can make every task added to the database have an individual value which changes regularly.
If you would like me to expand on this further I would be happy to as my explanation may be confusing.
Thanks in advance!
