I needed this and didn't find an existing solution: a CLV whose items
- can be expanded/collapsed (available in @Erel's CLVExpandable)
- and can have sub-items that can be shown or hidden
In the screenshot below, you'll see the arrows that can be used to expand/collapse, and the +/- signs to...
Hi everyone, is it possibile to update the value of an item of a custom list view?
because i do not see any method for this, the only way i figured out is to:
save the view using .GetPanel
save the value using .GetValue
update the value
replace the item using .ReplaceAt and using the new value...
Per the attached image, there are two checkboxes in the same row. How do I make one checked whiles the other in the same row isn't.
I use the below code to uncheck all rows fields in the clv when one field is checked. How do i do same for the same row?
For i = 0 To...
My test app adds 10 items to the clv each time the button is tapped. For reason unbeknownst to me, I couldn't see the last 3 items on the list.
I think that I've missed something obvious; could someone kindly point it out for me, please?
Private Sub Button1_Click...
I'm using B4xView TabStrip where I put 7 pages. Each page has a CLV.
Each CLV has a list of B4XSwitch - this is a schedule for each day of week.
So the Tabstrip has days of week like M T W and so on and each day of week has up to 3 B4XSwitch with labels- label shows start and finish...
Hi everyone, I have custom list view and I'm resizing it with the following bit of code. The code works it resizes the panel and its clv to the exact size I need it to be, but when it resizes, all the views inside the clv stretch almost to fill the clv and then the clv shrinks to the desired...
I've been migrating from loadLayout to programatically creating it (only in my clv, as I've measured the times and it's definitely faster). But the problem is that in the vertical CLV I'm putting nested horizontal CLVs inside. Loading it with designer made no problems, but I've realized that...
I'm trying to create a pdf file from a clv content. I have followed guides on this forum and arrived with the attached but i still need help because the image is squeezed when the content is alot.
In my approach, i save the clv content as an bitmap and insert it in the...
I have a clv which displays a list of two fields. A number and a text field, the data being obtained from a SQLite database. For some reason every so often when I load the list it does not show the last visible text field although the number is shown. Sometimes the text field in a couple of...
Hello, I wanted to print some images obtained from a URL stocked in a SQLite DB. I don't really know how to do it. i implemented some code in job done to apply images into panel's image views but still having issues. Some one knows how to do it ?
Sub JobDone(Job As HttpJob)
i've a clv filled with textitems, the last visible one is cutted. (but acutally there is one more after that is not visible)
Blue is the panel in wich the clv is contained, Red is the Clv itself
Why the last item (Farmaco 4) is cut out? i can't scroll more
Thanks in advance
I just started working with ios and got to CustomListView and realized that this element behaves quite differently from Android. Here I have collected all the differences I found from Android.
'These global variables will be declared once when the application starts...
I need to add a horizontal CustomListView as an element of a Vertical CLV. The code that I'm using is:
Private Sub createOfertas As B4XView
Dim p As B4XView = xui.CreatePanel("")
I have a problem. I'm using B4xTabStrip with 3 pages. Each page contains a label, a textfield and customlistview. Each CLV contains B4xSwithes a labels.
Actually it's a schedule for a provider for each day of week. Provider clicks on a day of week in tab strip, selects Yes / No for...
When working with CLVSwipe, I realized that I don't have the event of the very fact of the swipe. And when the panel is already fully open. Can I add this event?
I already asked this question, but is it possible to somehow add a simultaneous left-to-right and right-to-left swipe?
I have a problem with CLV. In my app I have a list of messages grouped by sender and it shows only subj of each message.
This list in webview. On click I select a message ID and based on this ID I open messagedetails screen where I select from my database all the messages linked to the...
Hi everyone, how can i disable the "click" on the various items in my customlistview?
in B4i it's done like so:
Dim p As Panel = clv.AsView
p.UserInteractionEnabled = False
But in B4A i didn't find anything like this. Even if I remove the check from "Enabled" in the designer, the items are...
I built a CLV using this coding:
Activity.LoadLayout("SongList") ' This layout also contains a custom list view.
CSelections.Mode = CSelections.MODE_SINGLE_ITEM_PERMANENT
' Make panel slide down out of site...
In my custom list view I'm using this code to play and pause music. When the user clicks the play icon the icon changes to a pause icon so the user can pause the music. Clicking it again will make the icon a play icon.
I know what the index is for the play / pause ImageView. I want...