B4A Library Horizontal CustomListView

This is a simple library that I customize from the original CustomListView (vertically scrollable). You may find it useful like i do, to be able to make 'Messenger like horizontally scrollable online users.

Updated Library file and Example is attached below.

'
20170930_101219.gif
 

Attachments

  • HorizontalCustomListView Ex.zip
    3.1 KB · Views: 462
  • HorizontalCustomListView Lib V1.01.zip
    5.4 KB · Views: 365
  • HorizontalCustomListView Lib V1.02.zip
    6 KB · Views: 405
Last edited:

jimmyF

Active Member
Licensed User
Longtime User
Great with one exception!

I had to rename my reflection.jar and reflection.xml files to reflection (3).jar and reflection (3).xml to make it work.
Maybe you can rename your library files as reflection.jar and reflection.xml to make it more easily usable.
 

peacemaker

Expert
Licensed User
Longtime User
B4X:
Cannot find: P:\Basic4android\libraries\reflection (3).jar
 

jimmyF

Active Member
Licensed User
Longtime User
Cannot find: P:\Basic4android\libraries\reflection (3).jar

See my Post #2.
This is what I did.
You can rename your reflection.jar and reflection.xml files to reflection (3).jar and reflection (3).xml to make it work.
(Note the space before the (3))

Hopefully @DaniDPX will correct it and post an updated library.
 

jimmyF

Active Member
Licensed User
Longtime User
Works very well. Thank you for this. :)
 

jimmyF

Active Member
Licensed User
Longtime User
On closer inspection, you need to change the .xml file.
It still refers to reflection (3).
Otherwise, it works well. :)
 

DaniDPX

Member
Licensed User
yes @DaniDPX The horizontal scrollbar, how would I hide it, or change it's color.

I've updated the library and now it supports hiding the 'bar'. Please update it with HorizontalCustomListView Lib V1.02.zip

B4X:
    For i = 1 To 10
        Dim b As Button
        b.Initialize("")
        Dim p As Panel
        p.Initialize("")
        HorizontalCustomListView1.Add(p,300,"")
        p.AddView(b,0,0,300,100)
    Next
  
    HorizontalCustomListView1.HideScrolBar

And if you want to tweak the scroll-view too, I made it public so you can see this

B4X:
HorizontalCustomListView1.hsv
 

Matteo Granatiero

Active Member
Licensed User
I've updated the library and now it supports hiding the 'bar'. Please update it with HorizontalCustomListView Lib V1.02.zip

B4X:
    For i = 1 To 10
        Dim b As Button
        b.Initialize("")
        Dim p As Panel
        p.Initialize("")
        HorizontalCustomListView1.Add(p,300,"")
        p.AddView(b,0,0,300,100)
    Next
 
    HorizontalCustomListView1.HideScrolBar

And if you want to tweak the scroll-view too, I made it public so you can see this

B4X:
HorizontalCustomListView1.hsv
and to upload many images contained in a certain path as I do?
 

goomoo

Member
Licensed User
Longtime User
How to add multiple bitmaps to HorizontalCustomListView? Please write sample code based on mine.
Thank you. :)

Something like this:
 

Attachments

  • Horizo​​ntalCustomListView_code_example_01.png
    Horizo​​ntalCustomListView_code_example_01.png
    192.4 KB · Views: 146
  • HorizontalCustomListView Ex_20211114.zip
    35 KB · Views: 135
Top