iOS Question [SOLVED] B4i CLVDragger - drag to reorder items in customlistview

Binary01

Active Member
Licensed User
Longtime User
Hi,
I found the drag to reorder items in customlistview for B4A and B4j.
I want to use this feature in b4i.

I try to change b4a CLVDragger to b4i code.
Label has no touch event so I Add a panel then add label inside.

B4X:
Dim r As Reflector
r.Target = lbl
r.SetOnTouchListener("lbl_Touch")
I think above reflector code with touch event may be work.

Second Reflector Code is
B4X:
Dim r As Reflector
r.Target = list.sv
r.RunMethod2("requestDisallowInterceptTouchEvent", True, "java.lang.boole
But I cannot replace Reflector code to NativeObject code.

Thanks in advance
 
Last edited:
Top