customlistview

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

    Android Question RTL Horizontal xCustomListView

    Hi! I'm using xCustomListView Horizontally but I want it to place the items from right to left. How can I do That?
  4. rleiman

    Android Question [SOLVED] Extracting a value from a label in a custom list view clicked by a user

    Greetings, I'm trying to extract the value from a label that's in the custom list view item that the user clicks. Based on this thread and coding example, I set up this Type structure to get values from my custom list view when an item is clicked. Later I will be adding more items into the...
  5. 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...
  6. M

    iOS Question [B4X] Get the label from an TextItem of a CustomListView

    Hi everyone, it is possibile to get a reference of the label used for the "TextItem" of a CustomListView? i wish to change the backgroud color of the label, text size, round the corners etc.. I know that there is the .DesignerLabel method, but if i try to change color it does not work Thanks...
  7. red30

    Android Question Nested CustomListView and using PreoptimizedCLV

    I am creating a CustomListView "allclv" with a nested CustomListView "clvPhoto". In each clvPhoto I add 30 photos stored in DirInternal. This display of 5 of these CustomListView takes more than 20s, which is very long. Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("Layout")...
  8. red30

    Android Question Working with CustomListView, which also contains CustomListView

    I have a CustomListView "allclv" which contains several "Photo" Layouts. Layout "Photo" contains several buttons and one more CustomListView "clvPhoto". How can I add the selected photo to the clvPhoto where the button was clicked? Here is my code. He does not work. Sub btnAddPhoto_Click...
  9. SoftSpot

    Android Question Load an Image from MS Sql Server into customlistview

    I am having trouble loading an image (sql type: image) into my customlistview. Without the Image code all works fine, I would appreciate some here as I an running into walls. #Region Activity Attributes #FullScreen: False #IncludeTitle: True #End Region Sub Process_Globals 'These...
  10. B

    Android Question CUSTOMLISTVIEW ERROR

    ** Activity (main) Create, isFirst = false ** ** Activity (main) Resume ** java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 customlistview_getsize (java line: 188) java.lang.NullPointerException: Attempt to invoke virtual method 'int...
  11. Sasuke Sama

    iOS Question CustomListview 2 or 3 Col

    hello i want help i need to make a CustomListView with multi coulmuns : if not ipad show 2 col else if ipad show 4 col i am reading this post ( https://www.b4x.com/android/forum/t...-imageviews-and-many-rows.101431/#post-636920 ) but this post not helping me i dont know how to make...
  12. A

    Android Question Example for LazyLoading from jRDC2

    Hi All, I can load/SELECT ALL data in a table from jRDC2 (mysql DB) with no problem, but I think this is not perfect in case of thousands of rows to return/SELECT from App performance standpoint, also I am aware that I can use LIMIT to limit the number of rows; however I am not sure how to...
  13. B

    Android Question Read text from customlistview

    Hi there, I am new to B4A so please bear with me. I have a customlistview which has items in it. I am trying to make it so that if a user clicks on an item, it will be able to retrieve all details about that item (The text and value). I have got the value, but I've got no idea about how to find...
  14. H

    Android Question How can I LoadBitmap from File.DirAssets... using customlist view

    Hi Guys. I'm stuck trying to use my own icons on a customlistview. I tried fontawsome icons but they are not to my liking. i know the code for listviews is [CODE lang="b4x" title="ListView1.AddTwoLinesAndBitmap2("Results", "", LoadBitmap(File.DirAssets, "report_card_96px.png"),0)"][/CODE]...
  15. K

    Android Question Customlistview with 2 or more columns

    Is it possible to generate several columns (grid) in one CLV? In normally, I can add one cell (a layout) to the row. But I want to add 2 layouts for same row like below. If anyone know how to do it or have sample code, please let me know. Thank you.
  16. 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...
  17. Biswajit

    B4A Library [B4X][XUI] CLVIndexScroller - xCustomListView fast scrolling index view

    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. Dependencies: xCustomListView XUI / jXUI Note: CLV items must be in sorted order. CLV items should have a...
  18. rleiman

    Android Question [SOLVED] - Some views are not working with the screen reader turned on

    Greetings everyone, I noticed that the following views do not recognise screen taps and dragging to scroll when the accessibility screen reader is turned on. I testing it with a Galaxy S9 running Android version 10. B4XSeekBar CustomListView These work ok only if the screen reader is turned...
  19. Reminisce

    Android Question Odd behavior with xcustomlistview and Android slider library.

    Hello guys, before adding the slider to my activity, MY XCLV(xcustomlistview) displays all item completely. Now I added the slider, and added my XCLV below it. The issue now is my 'XCLV doesn't scroll to the last item, I have adjusted the height of my XCLV severally, it just doesnt seem to...
  20. 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...
Top