xclv

  1. M

    Android Question CLV Individually Rounded Corners

    Hi everyone, I need to achieve this result with a CLV (only 2 corners are rounded) I already tried these two approaches Dim jo As JavaObject = clvProducts.AsView jo.RunMethod("setClipToOutline", Array(True)) clvProducts.AsView.SetColorAndBorder(clvProducts.AsView.Color, 2dip, 0xDBDBDB, 20dip)...
  2. epiCode

    B4A Library [B4X] Expander v2 : Expandable CustomListView

    Expander : Expandable CustomListView based on Erel's Expandable List View, xCustomListView and XUI I needed to modify Expandable List View to customize it to my need and hence this Library. Features: ~ Easy to Configure. No layouts. No Images. ~ Does not use layout. So it is slightly faster...
  3. james_sgp

    Android Question CLV, get a cards tag

    I`ve been scratching my head on this all morning.... I have a XCLV, that is filled using 'layout cards'. Each card has a unique tag (written when created), my question is how can I scan thro the XCLV and find if a certain tag is there? FYI, i`m doing this so I can delete a 'card' if...
  4. Alexander Stolte

    B4A Class [B4X] SnapCLVAdvanced - Move to the nearest item - Instant snap

    I took the original CLVSnap code from @Erel and modified it to create a new class. With this class you can decide if you want to have an instant snap or if you want the list to snap only when the list stops moving. I spend a lot of time in creating views, some views i need by my self, but some...
  5. Alexander Stolte

    Android Question [B4X] xCLV latest source code

    I work a lot with xCLV on all 3 platforms and sometimes the handling is different and things work differently, to better understand what is happening in the background it would be handy to have the actual source code to look up how certain things work. Where can I find the latest source code of...
  6. 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...
  7. epiCode

    B4A Library xCLV with Navigation Buttons

    Hi Everyone, I'm sharing a modified xCLV to display navigation button to scroll up or down to bottom. It is based on v1.72 shared by @Erel here -> Original Lib Thread Please note that it is not recommended by Erel to use .bas for xCLV, since other libs depend on it, so I'm sharing a jar...
  8. james_sgp

    Android Question Minisearchview on xCLV, getting text

    I`m using the Minisearchview on a 'card' in a xCLV for input, but I can`t get its contents using pp.getview(x).xxxx? If I try getview(x).textfield.text i get error "Uknonwn member: textfield". Welcoming any suggestions...thanks
  9. 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...
  10. rleiman

    Android Question [SOLVED] - xCLV .Add parameter

    Greetings, I have a stupid question and hope you don't mind. I just want to get my head around this particular parameter. I noticed I can put any value in the value parameter of the add statement of an xCLV. My stupid question is what is this parameter actually for and how can it be used in...
  11. 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...
  12. R

    Android Question xCLV Horizontal Scrolling - Parking Position

    When using xCLV as a screen-width container for images, views or other interface elements a left/right user input gesture causes the view to scroll and gradually slow to a stop. The point at which it stops is unpredictable and normally leaves adjoining cells in view. Is it possible for a...
  13. 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...
  14. 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!
  15. Lucas Eduardo

    iOS Question ClvNested

    I have a code in B4A that i'm converting to B4I, so in B4A i'm using CLVNested, but in B4I it's not necessary. I removed the CLVNested, but when e compile the app i get an error SignalHandler 11. Dim p As B4XView = XUI.CreatePanel("") p.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)...
  16. LucaMs

    Android Question xCustomListView item panels

    When I create a "b4xview panel" with rounded corners, it is ok if added directly to an Activity; if I pass (add) it to a xCustomListView, the corners are wrong:
Top