This is a simple "Diary" app and I will write any text entered into the EditText to a SQLite database table when the user presses the "Done" button on the keypad.
In order to do this, I must be able to read the "Value"/"Index" of the CustomListView.
I can do so with:
Code:
But I must be able to read the Value from the "txtEvents_Click" event.
I tried:
Code:
But this does not work.
I have attached the app
In order to do this, I must be able to read the "Value"/"Index" of the CustomListView.
I can do so with:
Code:
B4X:
Sub clvEvents_ItemClick(Index As Int, Value As Object)Log(Index & " = " & Value)End Sub
I tried:
Code:
B4X:
Sub txtEvents_Click(Index As Int, Value As Object)Log("From txtEdit: " & Value)End Sub
I have attached the app