hi everyone, i'm trying to achieve an cool effect when removing an item from a clv.
i had a clv with some custom panels in it. each custom panel had a delete button.
When the delte button is pressed I want the panel to exit from the screen animated, and all the item above scroll up to fill in...
Hi everyone, i'm trying to adapt an example of a chat layout (android reference by @Douglas Farias)
I want to change the property (width, height, position) of a panel in a customlistview (loaded with loadlayout).
If I go step by step with the Debugger it seems to work, but as soon as it go on...
From this tutorial: [B4X] [XUI] CustomListView - lazy loading / virtualization
Type CardData (Title As String, Content As String, BitmapFile As String, Color As Int) 'new Color field
Sub CLV1_ItemClick (Index As Int, Value As Object)
UpdateItemColor(Index, Rnd(0xff000000, 0xffffffff))
I have been trying to solve this for a while.
I have 6 customlistviews all stacked up on top of each other - each customlistview can have 10 or more labels. A slider selects which of the 6 customlistview is under focus. How best I can determine which label was clicked from which customlistview...
I have a CustomListView to which I am adding a number of text items. When I load a background image my text disappears. How do I make the text Tone1, Tone2 etc to come to the front of the loaded image?
In B4A I am able to set the background image and the text appears overlayed on the background...
I have this CustomListView that I populate with TextItems. Using GetValue, I can get the item number the user clicked on but how do I get the text?
dim List1 As CustomListView
It's a class that adds a fast scrolling index view to xCustomListView. It has a dark and a light mode. You can show either alphabetic or numeric index and can change the index order.
XUI / jXUI
CLV items must be in sorted order.
CLV items should have a...
I have this Block of code
Dim i As Int
Dim iv As ItemValue= CustomListViewPRODUTOSESCALONADOS.GetValue(i)
Dim qtdeItems As Int
For i=0 To CustomListViewPRODUTOSESCALONADOS.Size -1
qtdeItems = EditTextQTDECustomListView.Text...
Hola alguien me puede ayudar necesito recorrer el contenido de un CustomListView.
Lo estoy intentado hacer de esta forma
For i=0 To LV1.GetSize -1
Dim a As Int=LV1.GetValue(i)
pero solo me obtiene un valor necesito obtener todos los valores que están dentro del listado.
é a primeira vez que trabalho com o custom list view, e estou necessitando
pegar os Index da CustomListView onde tiver o Valor da Quantidade > 0
tentei alguns metodos porem não obtive sucesso, alguem tem alguma solução ?
Como a imagem descreve!
Original Tutorial by @narek adonts
Create a standard class module (Let assume the name of the class is UIRefreshControl),
Private CSB As CSBuilder
Private cb As Object
Private en As String
Private RefreshControl As NativeObject
Let's take the xCustomListView Example :
There are 2 CustomListView, how to get the full image of the tallest clv : clv2 and save it in a jpg file?
I just went through Erel's custom list view example here:
I should watch more of these - they are actually helpful! - group hug for the "tiny" bit of info where it is explained the...
Some features added to the last Erel's xCustomListView (v. 1.71).
As you know, it works on the three platforms (B4A, B4J, B4i).
'xCustomListView v1.73 LM
' Added MultipleSelection:
' Property MultipleSelection
' Property SelectedIndices
' Property SelectedValues
Hi, I'm trying to use CustomListView's ScrollToItem function to move the contents of the list to a new position. It is not working in the latest version of the CustomListView library. I have tested it in the example of the forum that uses the class instead of the library and in that case it...
HI Erel ,
How I can add a search option to this CustomListView . the requirement is to filter the view according to the search text.
also how i can reduce the gap between each panel items.
sample project attached
How can I show a multi page pdf in a CustomlistView and set each page so that the user is able to zoom the image?
I also tried using Webview but it does not work:-
dim image as imageview
Private CLV1 As CustomListView
For i = 0 To pdf.PageCount-1
Dim p As B4XView =...
I have a CustomListView that scrolls horizontally. I then have an element in each panel which scrolls vertically.
If I try to scroll vertically it tends to scroll left to right and gets stuck scrolling vertically.
I noticed if I scroll super straight, I can get it to scroll vertically.
I'm trying to modify the CustomListView.bas module as follows:
1. I want it to snap to each panel. Like the way it snaps when executing a Jump to Item.
2. I want it to only be activated when a user swipes.
The behaviour could basically be described as swiping between cards/panels. Swipe...