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)...
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...
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...
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...
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...
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...
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...
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
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...
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...
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...
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...
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...
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)...
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: