I need to show a long list of elements in a LongTextTemplate Dialog
Since it's a chronological list, I'd like to to show it already scrolled to the last item using the following code, but it keeps opening at the top of the list
Since it's a chronological list, I'd like to to show it already scrolled to the last item using the following code, but it keeps opening at the top of the list
B4X:
LongTextTemplate.Text = csText
Dim sf As Object = Dialog.ShowTemplate(LongTextTemplate, "Ok", "", "")
LongTextTemplate.CustomListView1.ScrollToItem(LongTextTemplate.CustomListView1.Size - 1)
Sleep(0)
Wait For (sf) Complete (Result As Int)