I'm fairly new to Android/Java (you might have figured that out by now), i'm writing a simple app where there will be a table of content with three column 1.Name 2.Emp_ID 3.Present_Office 4.Absent_office
UI will have drop down to select "Name", two buttons "Present", "Absent", EMP_id displayed as text view when "Name" is selected from drop down.
How do i save this info? is array the right choice? or it has to be SQLite db (little complicated for beginner like me)!
Each button press on "absent" or "present" should increase the array value of "Abasent_office" or "Present_office" by 1. ie, need to update the array based on button press.
Is there a simple and efficient approach instead of array. Please help. Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire