Android Question [SOLVED] CustomListView click in another CustomListView

astronald

Active Member
Licensed User
Longtime User
Hi everyone, have good day,
I have a custom layout list, each custom layout has a horizontal list,
it is only for preview, the user clicks and can modify it,







when the sublist is full there is no problem,

Click de la lista:
Private Sub lstSublist_ItemClick (Index As Int, Value As Object)
    Dim ix As Int = lstPrincipal.GetItemFromView(Sender.As(CustomListView).AsView)
    lstPrincipal_ItemClick (ix,lstPrincipal.GetValue(ix))
End Sub

Private Sub lstPrincipal_ItemClick (Index As Int, Value As Object)
    Dim miFichas As cFichas
    miFichas.Initialize(Me)
    miFichas.Mostrar(Root,Value)
End Sub

but if the list is empty I cannot capture the click of the list principal, only if click on label,
Can someone guide me how I can capture that click on empty list.
 

Attachments

  • lista.png
    24.5 KB · Views: 84
Cookies are required to use this site. You must accept them to continue using the site. Learn more…