I havea Listview which lists SQLite table records. When user selects a record (ShortClick) he is taken to another screen (Activity) where I wan to display record details. This particular record has also several ChildRecords so I would need to display child records either on the same screen or on another screen by pressing appropriate Button. another words on the DETAIL screen I will have several buttons to display ChilRecords (like CHIL1, CHIL2, CHILD3 etc.)
This is pretty much like DButils example App, however this App is like my secondary screen, so instead selecting students (like in this demo app) by using look-up list I want to have full featured Listview with the search capability and then after clicking on a record I want to go and display details.
Question:
I want user to come back to the same record (the one he had selected) after clicking BACK button on the device or eventually by selecting BACK button in the App.
Shall I read all record fields, store it in an Array and the pass it to the second Activity, or better pass only the RecordID parameter and re-read the record in the second Activity ?
What is the best method to do it ?
Arthur
This is pretty much like DButils example App, however this App is like my secondary screen, so instead selecting students (like in this demo app) by using look-up list I want to have full featured Listview with the search capability and then after clicking on a record I want to go and display details.
Question:
I want user to come back to the same record (the one he had selected) after clicking BACK button on the device or eventually by selecting BACK button in the App.
Shall I read all record fields, store it in an Array and the pass it to the second Activity, or better pass only the RecordID parameter and re-read the record in the second Activity ?
What is the best method to do it ?
Arthur