CustomListView with Drag and Drop Support for items based on Erel's Class CLVDragger
1. Added Callback Support
2. Added Event: OrderChanged ( ItemIndex as int , NewIndex as Int)
ItemIndex: Item which was dragged
NewIndex: Where item was dropped
I have a Customlistview with some panels on it. on the panels are some textboxes. when inserting (not add) a couple of new panels (2 or 3) and i enter(press) from 1 textbox to another, I get the following message:
java.lang.IllegalArgumentException: Comparison method violates its general...
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...
Updated to v. 1.31 03/30/2022
Fixed: ItemRemoved declaration correct.
Updated to v. 1.30
Added internal dialog (optional) to ask for confirmation of removal and many properties about this, included one to choose whether to use this dialog or not.
Added the CLVItemToolbox1_ItemRemoved (Value As...
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, need help for CustomList view... I'm filling custom listview with data from my sql database...
I can not understand why is stored Tag empty... Any suggestion...
' napolnimo combo z kupci
Sub FillComboCustomer(Filter As String)
Query = $"select cu_code, cu_name, cu_country...
I am using TabStrip. Each page contains a CustomListView. Each CustomListView contains 5 CheckBoxes. If I call a subroutine in the Starter that calls a subroutine in the Main Activity, then on the second and subsequent pages of the TabStrip the checkbox for the CheckBox is not displayed...
I have simple activity which has xCustomListView with panel with edit view. Edit has FocusChanged proc. This proc read edit value and set label text in picture edit value is "12" and label text is "Kid 0".
The "Clear CLV" button clear xCustomListView. If the cursor is parking on the edit...
I just need guidence for how to create a Netflix like layout, meaning to scroll vertically and horizontally.
I understand that customlistview can not work with nested customlistview.
Also there is a post for nested customlistview but the limitation says that we won't be able to...
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 want to change the background of the CustomListView
SC_Menu.GetBase.Color = xui.Color_Transparent
SC_Menu.sv.Color = xui.Color_Transparent
but it doesn't work what should i do?
and also can i invisible Scroll bar? how?
And can I move the position of the scroll bar to the right?
in this code which is in a loop, I wish to test every view.
'lst' is a list containing all the views of the designer
For each ...
Dim w As CustomListView=lst.Get(i)
If w.AsView Is ScrollView(or CustomListView) Then
B4XSeekBar is very difficult to use in CustomListView as you only need to move your finger in a straight line, otherwise the list will move.
I already asked this question, but for Android and Erel I made an excellent solution. Is it possible to do the same 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.
'These global variables will be declared once when the application starts...
While using Facebook I noticed that the navbar is “linked” with the scrolling of the list.
how can be implemented such a behavior in b4i? maybe using a clv or scrollview etc..
thanks in advance
(gif link to see)
p.s. what is the maximum file size for attachments in the forum...
I am encountering something that looks somewhat related to what is described here:
My code was working just fine, until I added XUIViews, and suddenly, DefaultTextFont is described as Unknown member.
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...
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...