I am using B4XRulerPicker as a child view for AsViewPager; however the touch event for the ruler seems is affected by the parent.
I have tried multiple options and tried to set Scroll to false to overcome this but didn't work.
I have attached a small project that shows the difference when...
Is working and tested on B4A,B4I and B4J.
I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal. :)
set your own color palette...
Hi, i want to share this snippet that is a SLIGHTLY modified version of the Erel one.
Maybe it can be found easly with this specific thread name:
Private FeedbackGenerator As NativeObject 'globals
i realizing that at newer os the touch action event 2 (hold) is fire continuous
and at older devices only at moving the finger.
is there a way /trick that i can get continuous hold events always?
inside this events i turn something.
my workaround would be a timer event combination.
Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+
In Android I would use this command:
Sub EventName_Touch (Action As Int, X As Float, Y As Float)
In B4J I would use this:
Sub EventName_MouseDragged (EventData As...
I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J.
This is the code:
Private CallBack As Object 'ignore
Private EventName As String 'ignore
'Initializes the object. You can add...