1. W

    Android Example [B4J] [B4A] Expandable CLV with sub-items (similar to a tree)

    Posted in the B4J forum:
  2. W

    B4J Code Snippet [B4J] [B4A] Expandable CLV with sub-items (similar to a tree)

    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...
  3. M

    Android Question [B4X] Update value of an item in CustomListView

    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...
  4. P

    Android Question How to control two checkboxes in the same clv row.

    Greetings Community, 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...
  5. toby

    Android Question xCustomListView: Unable to scroll to last 3 items at bottom

    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? TIA Private Sub Button1_Click...
  6. A

    iOS Question How to find B4XView on the Page.Rootpanel

    Hi all. 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...
  7. Michael2150

    Android Question Custom List View Resize Stretch

    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...
  8. C

    Android Question xCustomListView - set horizontal orientation programatically?

    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...
  9. P

    Android Question Better approach in creating a pdf from a clv content.

    Greetings Community, 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...
  10. B

    Android Question Text Field Not Always Showing In Custom List View

    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...
  11. 2SucresCelestin

    Android Question Print a picture in CLV from a URL obtained from an SQLite DB

    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) If Job.Success...
  12. M

    Android Question [SOLVED] CustomListView last visible item cutted (not all items are showed)

    Hi everyone, 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
  13. red30

    iOS Question CLV works differently in ios

    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. Sub Process_Globals 'These global variables will be declared once when the application starts...
  14. Marcos Alves

    iOS Question Horizontal CustomListView as an Element in a Vertical CustomListView

    Hello, 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("") p.SetLayoutAnimated(0,0,0,100%x,200dip) p.LoadLayout("restaurantMenuOfertas") Dim...
  15. A

    iOS Question (Solved) How to get CustomListView on a page?

    Hi all. 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...
  16. red30

    Android Question CLVSwipe event of the very fact of the swipe.

    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?
  17. A

    iOS Question Problem with CLV

    Hi all. 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...
  18. M

    Android Question Disable User interaction on a CustomListView

    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...
  19. rleiman

    Android Question [SOLVED] - Changing the text property of a label view in an xCLV at a specific index

    Greetings, I built a CLV using this coding: Activity.LoadLayout("SongList") ' This layout also contains a custom list view. CSelections.Initialize(clvSongList) CSelections.Mode = CSelections.MODE_SINGLE_ITEM_PERMANENT ' Make panel slide down out of site...
  20. rleiman

    Android Question [SOLVED] - Selecting a custom list view item for a specific index number

    Greetings, 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...