clv

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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
  8. 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...
  9. 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...
  10. 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...
  11. 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?
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. A

    Android Question [SOLVED] Easier way for multiple entries per panel in CLV

    Hi All, I have a problem with clv that I solved with a not so good approach, so I am aiming someone can guide me how to prolerly use clv in this scenario. Basically I have jRDC2 data reflected, this data contains user number for example 7,8,9 as an example user 7 can have amount of 200 for...
  17. A

    Android Question [Resolved] Multiline label for loaded CLV/Panels

    Hi All, I really appreciate if someone can help or guide me on this CLV obstecle. I have jRDC where I am SELECT from DB to CLV. I have card like CLV in which user name can appear more than once in a card based on the year returned ( so I can have one user name in card for 2020, and another...
  18. M

    [B4X] Double (Multi) Column CLV

    Hi everyone, recently i needed to implement an double column list in one of my app. I was ispired by an @Erel example, but i needed something slightly different, so i did this (i want to share with you, maybe could be useful to someone even if is a simple thing): (it support odd number of...
  19. M

    Android Question Double Column CustomListView

    hi everyone it's possibile to have a double column customlistview to achieve this kind of result? I've to do this also in B4i Thanks!
  20. Flavio SOuza

    Android Question Aligns items side by side within the CLV

    I am using erel's CLV example. however I wanted to display it side by side in the CLV. I've already tried to reduce the panel by 48% x, but the next item doesn't go to the side and stays down. Sorry for my English.
Top