Binary01 Active Member Licensed User Longtime User Jul 16, 2021 #1 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: Jul 17, 2021
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
Binary01 Active Member Licensed User Longtime User Jul 18, 2021 #2 Now I solved it. Modified Code and sample. Last edited: Jul 20, 2021 Upvote 0