Sub Activity_Resume
CustomListView.Clear
'Call Sub to reload all data from database ..
ShowAllData
End Sub
i'm Test Follow the instructionsIn Activity Two when / where do you load data into CustomListView.
In Activity Two maybe this ..
B4X:Sub Activity_Resume CustomListView.Clear 'Call Sub to reload all data from database .. ShowAllData End Sub
In Activity One you could set Global Variable to signal if New records have been inserted ..
when starting activity two you could check this flag to see if you need to reload database or maybe just add the new records to your list.
Thank youHave a look at the SQLiteLight examples in my signature they do what you want to do.