Android Question CustomListPlusHorizontal - Load and Save

eps

Expert
Licensed User
Longtime User
When you say 'not saved correctly' what do you mean, e.g. what are you expecting to happen and what is happening?
 
Upvote 0

RauchG

Active Member
Licensed User
Longtime User
I create a table:
The table has 12 columns. 2 colums are id und sort. The rest are EditText. See attachement: elist.db3.

Because load works. The values are displayed correctly.

If I now change values in the views and call the sub btnSave_Click, they are not stored correctly in the table.

Because I do not know how I can call the views when saving, I use "For Each v As View In Activity.GetAllViewsRecursive". This does not work.

If there are further questions, please posten.

Greetings
RauchG
 

Attachments

  • elist.zip
    434 bytes · Views: 194
Upvote 0

klaus

Expert
Licensed User
Longtime User
In Post # 1 is the test project.
Sorry, I didn't notice that the database was already included.

Your code looks a bit complicated to me.
Attached a modified version how I would do it.
 

Attachments

  • test1.zip
    14.5 KB · Views: 224
Upvote 0
Top