Android Question B4X Custom listview with horizontal and vertical movement

ocalle

Active Member
Licensed User
Longtime User
Hello!, I just downloaded Netflix app on my phone. I saw a useful list options

My question is : is it possible sliding in that way?

Thanks.
 

Attachments

  • sliding.png
    sliding.png
    451 KB · Views: 685

ilan

Expert
Licensed User
Longtime User
Hello!, I just downloaded Netflix app on my phone. I saw a useful list options

My question is : is it possible sliding in that way?

Thanks.

sure!

you can create a clv that each item has a scrollview and add panels to those scrollviews


when thinking about it again i am not sure if you add a scrollview to a customlistview you will be able to trigger the touches inside the scrolviews because the clv will trigger them.
 
Last edited:
Upvote 0

ocalle

Active Member
Licensed User
Longtime User
excellent thanks @Johan Hormaza , i finding for a menu with images.
 
Upvote 0
Click event solved, with this code I can bring the value of the corresponding tags
B4X:
Private Sub CLV1_ItemClick (Index As Int, Value As Object)
    Dim ClickedPanel As Panel = CLV1.GetPanel(Index)
    Dim ClickedCardText As String = PanelTags.Get(ClickedPanel)
    ToastMessageShow("Clicked: " & ClickedCardText, True)

End Sub
 
Upvote 0
Top