I am making a basic todo list app in android studio for practice. I want users to be able to type a description of a task they need to do in an EditText view. The program should store that task in the strings.xml file, and append that new task to a list so it can be displayed using a recyclerview.
The problem I am having is that my TODOItem class takes in an int (representing the StringResourceID). When I take in a value from the EditText view it is a String. How can I make a string into a StringResourceID that is stored in the string.xml file when the user presses a button? Landing page with list of tasks When user presses add, title of task should add to strings.xml