clv

  1. james_sgp

    Android Question Totally Confused by 'Custom View' in CLV

    I have sent the last day reading and trying to get/set text into a AS_textfieldadvanced custom view I have in a xCLV. I have read the "b4x-how-to-get-custom-view-here-from-clv-or-any-other-container" post over and over...searched the forum and looked at code. But I really can not get my head...
  2. 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...
  3. 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.
  4. Samara

    Android Question SMM .Webp In CLV

    I use simple media manager in customlistview with ".webp" format everything good in loading but when scroll clv get lag so much with 100 image... #Region Shared Files #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files" 'Ctrl + click to sync files...
  5. 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?
  6. W

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

    Posted in the B4J forum: https://www.b4x.com/android/forum/threads/b4j-b4a-expandable-clv-with-sub-items-similar-to-a-tree.155113/
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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
  18. 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...
  19. 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...
  20. 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...
Top