Hi
I would like to use this very nice solution..
.https://www.b4x.com/android/forum/threads/xui-customlistview-with-floating-titles.87935/#content
How to add additional elements? , for example, a button, image, to the drop-down list.
I would like to use this very nice solution..
.https://www.b4x.com/android/forum/threads/xui-customlistview-with-floating-titles.87935/#content
How to add additional elements? , for example, a button, image, to the drop-down list.
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("1")
pnlTitle.Visible = False
pnlTitle.SetLayoutAnimated(0, 0, 0, CLV1.AsView.Width, TitleHeight + DividerHeight)
pnlTitle.LoadLayout("CellTitle")
AddTitle("Title #AAA")
For i = 1 To 10
CLV1.AddTextItem($"A) Item #${i}"$, "")
Next
AddTitle("Title #BBB")
For i = 11 To 21
CLV1.AddTextItem($"B) Item #${i}"$, "")
Next
AddTitle("Title #CCC")
For i = 22 To 32
CLV1.AddTextItem($"C) Item #${i}"$, "")
Next
CLV1_ScrollChanged(0)
End Sub