I've a customdialog and a list view inside that lists the navigation apps (image and text)
the problem is that the event itemclick fire when the closed dialog.
is possibile close it automatically?
or using another method or dialog?
B4X:
Sub Method1()
...
Dim wCustDlg As CustomDialog
wCustDlg.AddView(ListView1, 0,0, 77%x, 50%y)
Dim wRet = wCustDlg.Show("Chose navigation app", "Close", "", "", Null)
End Sub
Sub list_ItemClick (Position As Int, Value As Object)
Label1.Text = ListView1.GetItem(Position)
End Sub
I try it and is a good solution but the final effect is not comparable with the standard.
If i put a panel of background, not covers the toolbar at the top of the application
There is a library that manages a dialog listview?