Your comments
Gesture, swipe.
Here is my fixed version of left menu slide example: http://beetoo.me/resources/BeeToo_Menu_Swipe.irpz
Small class BeeToo.Gesture introduced.
Everyone welcome to use it. It licensed under MIT license.
How it works video:
Here is my fixed version of left menu slide example: http://beetoo.me/resources/BeeToo_Menu_Swipe.irpz
Small class BeeToo.Gesture introduced.
Everyone welcome to use it. It licensed under MIT license.
How it works video:
In fact one can see in the log of i2control (running on mobile device), that all appropriate events take place:
- DEBUG Gesture swipe_right begin
- DEBUG Gesture swipe_right change
- DEBUG Gesture swipe_right end
Thank you for answering.
So, in other words: it is not possible with current event system?
So, in other words: it is not possible with current event system?
No, it's misunderstanding.
I'm talking about: "can one do better right now by means of current IRidium Script API?"
IMHO, we can. But I'm not sure.
I'm talking about: "can one do better right now by means of current IRidium Script API?"
IMHO, we can. But I'm not sure.
Sorry, but this is a bad example of swipe gesture handling.
Why?
It's unresponsive and crappy.
But why??!!
Because proper swipe handling depends on the corrdinates of user's pointer (i.e. finger) while we are inside of swipe gesture process.
Example: Android Sliding Menu
I suppose, that proper implementation really may be realized with help of iRidium Script API.
Because we have event: IR.EVENT_GESTURE_BEGIN.
When it occurs, we are inside gesture process.
Now we need to handle move event and handle coordinates.
Unfortunately, we do not have special event IR.EVENT_GESTURE_END, but we may look for IR.EVENT_TOUCH_UP.
When IR.EVENT_TOUCH_UP occurs, gesture finished and we may do proper action.
For exmaple: move left sliding menu to the key position (showed or hidden).
What do you think?
Why?
It's unresponsive and crappy.
But why??!!
Because proper swipe handling depends on the corrdinates of user's pointer (i.e. finger) while we are inside of swipe gesture process.
Example: Android Sliding Menu
I suppose, that proper implementation really may be realized with help of iRidium Script API.
Because we have event: IR.EVENT_GESTURE_BEGIN.
When it occurs, we are inside gesture process.
Now we need to handle move event and handle coordinates.
Unfortunately, we do not have special event IR.EVENT_GESTURE_END, but we may look for IR.EVENT_TOUCH_UP.
When IR.EVENT_TOUCH_UP occurs, gesture finished and we may do proper action.
For exmaple: move left sliding menu to the key position (showed or hidden).
What do you think?
Please, close current ticket.
Thank you great for help and info!
Ekaterina, thank you for response.
Okay, I got it.
May I ask you to reveal the logic of assigning these ids while guy editor saving the project?
Okay, I got it.
May I ask you to reveal the logic of assigning these ids while guy editor saving the project?
Customer support service by UserEcho
Suppose, it should work normally with no problems.