customlistview

  1. joko0124

    Android Question Lazy Loading for Nested CustomListView

    Hi! Is there anyone here I can ask for advice on how to improve the loading speed of data from a local database into my CustomListView? If possible, I would like to implement lazy loading to make data rendering more efficient. Below is my existing code, which I also found here on the forum a...
  2. M

    Android Question CustomListView and Android 16

    I wanted to use the CustomListView in my project instead of the standard ListView. I had no problems until I ran the project on a recent tablet and an Android 16 smartphone. Unfortunately, execution on these devices is very slow (they are very recent devices). The same project runs fine on...
  3. LucaMs

    Android Code Snippet [B4X] Create CustomListView items

    Tired of repeating the same code over and over again, especially when developing a sample project for other members, I thought I'd create this snippet. It's imperfect, but it's still useful. B4X, then for B4A, B4J, B4i. Update: I implemented @PaulMeuris's suggestions (post #5), they're good...
  4. S

    iOS Question Header row appearing on CustomListView

    The first item added to the CustomListView seems to be appearing slightly offset from the top. This has only just started to appear and is only happening in the B4i version (Java & Android renders correctly). I have added a red border around the CLV and a green border around the CLV.sv for...
  5. A

    Android Question clv.ScrollToItem (or JumpToItem) works, but only the second time through

    Scene: A B4XPage with a couple of customlistviews. They are filled, one item drawn highlighted, and then ScrollToItem called to get that item into view. All this happens in the B4XPage_Appear. It doesn't scroll the highlighted item into view the first time that page is shown, but works fine the...
  6. J

    Android Question How to copy Scrollview contents to CustomListView

    I have several tall and wide reports that are produced on a scroll panel. It is currently being done programmatically and scrolls vertically (and horizontally on iOS). How can I transpose or copy a scroll panel for all its contents to a CustomListView to gain the ability to scroll horizontally...
  7. J

    Android Question Scrollview report conversion to xCLV

    I am converting a Scrollview code to xCLV used for producing financial reports that have 5 to over 100 text items accross and over 100 rows. Rows have varying number of items and alignments. The cross-platform conversion is needed for horizontal and verticle scrolling ability. The current...
  8. D

    Android Question CustomListView Designer properties border width and radius problem

    Hi Guy I have used Xui.CustomerListView (CLV) for some time, always placing the view within a panel view and adjusting the panel properties to give me the desired border. I am now working on a simpler App and using the CLV directly. Question: Am I doing something wrong but when I set the CLV...
  9. asales

    Android Question [Solved] Using AS_Chips in a CustomListView

    I use the AS_Chips library from @Alexander Stolte. I have dozens of chips and I want to use this library in a CustomListView to scroll the chips, but I can't adjust the size of the chip list. An example is attached. If I put 50 chips, there is a gray space below. If I put 150 chips, it only...
  10. M

    Android Question [B4X] Update the value of a CLV Item

    Hi everyone, I have the necessity to update the value associated with an item of a CustomListView, the only method available is .GetValue but it does not accept the association operator (=). I do not want to recreate the view every time because the values will change rapidly and i do not want...
  11. M

    Android Question [B4X] CustomListView Reorder items by dragging

    Hi everyone, I'm doing some researches, is there any way to reorder a CLV item by dragging and dropping it in a new location? A bit like in the following image Thanks in advance.
  12. LWGShane

    B4J Question [XUI / Cross Platform] CustomListView change unused area color?

    In the attached image, how do I programmatically change the unused area (the red circled white area) of CustomListView?
  13. Joey249

    Android Question B4xPages Can't get xCLV to scroll while also using a ScrollView

    Hi, I have a layout set out which uses a ScrollView and then one CustomListView on the main layout, the ScrollView works to scroll the page, however the CustomListView does not scroll*. *The CustomListView actually scrolls when running from LeapDroid emulator, but not on my actual phone or...
  14. H

    Android Question resize a CustomListView in a Keyboard_HeightChanged event?

    How do i resize a CustomListView on runtime? I found nothing to height of a CustomListView on runtime. My Keyboard_HeightChanged: Sub Keyboard_HeightChanged(NewHeight As Int, OldHeight As Int) 'since CustomListView1.height is not exist. What can i use? Button1.Top = Button1.Top -...
  15. carlos7000

    Spanish Diferencia entre CustomListView.bas y CustomListView [SOLUCIONADO]

    Hola. Para los CustomListView empleo en mis proyectos un código que se encuentra en un archivo llamado CustomListView.bas su version es 1.20. Acabo de darme cuenta en el Manejador de Librerias de B4A ya aparece la libreria CustomListView, pero no indica su versión. Cual es la diferencia entre...
  16. carlos7000

    Spanish Inicializar CustomListView [Solucionado]

    Hola a todos. Tengo una pequeña aplacion que funciona, pero a veces se bloquea. Al bloquearse aparese un mensaje informando que un objeto List, no se ha iniciaalizado. Ya he verificado todo el codigo y todos los list se inicializan corretamente, creo. Pero note que un CustomListView no se...
  17. C

    B4J Question Error when reloading CLV quickly when clv items contain B4XComboBox

    For a while I've been noticing an error when I reload a CustomListView quite quickly: Each CLV item contains a B4XCombobox and the error seems to be because I'm trying to use clv.GetItemFromView using the underlying combobox. Attached is a small project showing the issue. If you run it and...
  18. Alain75

    Android Code Snippet Programaticaly suppress divider in customlistview

    Hi everybody I wasted time unsuccessfully to suppress divider seted in designer for customlistview : I wanted the last items to be without. And finally the solution is quite simple. As I am not the only one to search for, here are the 2 «magic» lines where clv is the name of your customlistview...
  19. D

    iOS Question ScrollToItem when use PreoptimizedCLV

    Hi, How to ScrollToItem when use PreoptimizedCLV?? When I remove PreoptimizedCLV and use this code, it works perfect. CLV.ScrollToItem(pos1) But, it not works when use PreoptimizedCLV. I also use this code. ' PreoptimizedCLV completed sleep(1000) CLV.ScrollToItem(pos1) But not work.
  20. K

    Android Question Custom Icons for Buttons in CLV

    Hello everyone, I have a CustomListView in B4X (writing for android currently, but want to go multi-platform in the future) only with buttons whose size depends on an input. I want to have each button 's text come with a different custom icon that i created (png format). So i guess i have two...
Top