You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
Hi..
Thanks for providing nice library.
I am using https://github.com/lucasr/twoway-view/tree/twowayview-0-1.
So because of onKeyDown, onKeyMultiple, onKeyUp event not able to move back. first we need to click somewhere in screen then only able to move back. so reason in overridden method onKeyDown, onKeyMultiple, onKeyUp in TwoWayView.java. If we comment these methods then working fine.
So please explain me why we meed to override onKeyDown, onKeyMultiple, onKeyUp which disturb android default behavior.
So next release please remove below method - @OverRide
public boolean onKeyDown(int keyCode, KeyEvent event) {
return handleKeyEvent(keyCode, 1, event);
}
@Override
public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) {
return handleKeyEvent(keyCode, repeatCount, event);
}
@Override
public boolean onKeyUp(int keyCode, KeyEvent event) {
return handleKeyEvent(keyCode, 1, event);
}
This is on TwoWayView.java line no. 1766 to 1779.
Please reply as soon as possible.
Thanks
Virendra
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi..
Thanks for providing nice library.
I am using https://github.com/lucasr/twoway-view/tree/twowayview-0-1.
So because of onKeyDown, onKeyMultiple, onKeyUp event not able to move back. first we need to click somewhere in screen then only able to move back. so reason in overridden method onKeyDown, onKeyMultiple, onKeyUp in TwoWayView.java. If we comment these methods then working fine.
So please explain me why we meed to override onKeyDown, onKeyMultiple, onKeyUp which disturb android default behavior.
So next release please remove below method -
@OverRide
public boolean onKeyDown(int keyCode, KeyEvent event) {
return handleKeyEvent(keyCode, 1, event);
}
This is on TwoWayView.java line no. 1766 to 1779.
Please reply as soon as possible.
Thanks
Virendra
The text was updated successfully, but these errors were encountered: