customlistview

  1. 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.
  2. 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?
  3. 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...
  4. 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 -...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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.
  10. 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...
  11. Mark Read

    B4J Question [Solved] How to use the click event on SimpleMediaManager

    I am having trouble with the click event when using the example 2 from Erel (here). I have only changed where the images are coming from but as in the example, each line contains 4 images and 4 labels. The click event fires as required but I need the label text. I know its probably simple but I...
  12. Lucas Siqueira

    Bug? Resizing a panel or a label inside a customlistview not work on b4i

    why does resizing a panel or a label inside a customlistview not work on b4i? (on android it works normally) if you try to resize outside the customlistview, it works normally #Region Shared Files #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files"...
  13. W

    B4J Question [B4J] B4XListTemplate font change not working for its CLV?

    Attached the test project and the screenshot. The code is just this: Dim ListTemplate As B4XListTemplate Dim dlg As B4XDialog dlg.Initialize(MainForm.RootPane) dlg.Title = "Title - this is default font 12" dlg.TitleBarFont = xui.createDefaultFont(12)...
  14. epiCode

    B4A Library [B4X] Expander v2 : Expandable CustomListView

    Expander : Expandable CustomListView based on Erel's Expandable List View, xCustomListView and XUI I needed to modify Expandable List View to customize it to my need and hence this Library. Features: ~ Easy to Configure. No layouts. No Images. ~ Does not use layout. So it is slightly faster...
  15. mcqueccu

    iOS Question GestureRecognizer and Customlistview text pinch zoom

    I am currently looking at the Gesture Recognizer library and it seems a bit complicated. I want to use the Pinch Zoom part to increase the text size of a single item added to the custom listview, any help or direction will be much appreciated. Thank you
  16. Humberto01

    Spanish Diferencias acerca de listview y CustomListview

    Hola y M. Buenos días para todos. Me llamo Humberto soy de Argentina, Entre Ríos, Gualeguaychú. Quería aprovechar esta consulta para presentarme y aprender a usar este sitio (además del Foro de consulta). Vengo de usar Android Studio y por accidente me topé con B4a el que comencé a mirar al...
  17. epiCode

    B4J Library [B4J] [Class] CLVDragger Mod v8 with OrderChanged Event

    CustomListView with Drag and Drop Support for items based on Erel's Class CLVDragger Modifications: v8 1. Added Callback Support 2. Added Event: OrderChanged ( ItemIndex as int , NewIndex as Int) ItemIndex: Item which was dragged NewIndex: Where item was dropped
  18. A

    Android Question Error when inserting 2 panels on a customlistview (Comparison method violates its general contract!)

    Hi, I have a Customlistview with some panels on it. on the panels are some textboxes. when inserting (not add) a couple of new panels (2 or 3) and i enter(press) from 1 textbox to another, I get the following message: java.lang.IllegalArgumentException: Comparison method violates its general...
  19. Alexander Stolte

    B4A Class [B4X] SnapCLVAdvanced - Move to the nearest item - Instant snap

    I took the original CLVSnap code from @Erel and modified it to create a new class. With this class you can decide if you want to have an instant snap or if you want the list to snap only when the list stops moving. I spend a lot of time in creating views, some views i need by my self, but some...
  20. LucaMs

    B4A Library [B4X] CLVItemToolbox - custom view.

    Updated to v. 1.31 03/30/2022 Fixed: ItemRemoved declaration correct. Updated to v. 1.30 Added internal dialog (optional) to ask for confirmation of removal and many properties about this, included one to choose whether to use this dialog or not. Added the CLVItemToolbox1_ItemRemoved (Value As...
Top