HorizontalVariableListView icon indicating copy to clipboard operation
HorizontalVariableListView copied to clipboard

dpad functionality

Open shreyas87 opened this issue 10 years ago • 1 comments

adding this piece of code to the ExpandableHListView :- @Override public boolean onKeyDown(int keyCode, KeyEvent event) { Log.e("keycode" , keyCode+""); switch (keyCode) { case KeyEvent.KEYCODE_DPAD_RIGHT: return super.onKeyDown(KeyEvent.KEYCODE_DPAD_DOWN, event); case KeyEvent.KEYCODE_DPAD_LEFT: return super.onKeyDown(KeyEvent.KEYCODE_DPAD_UP, event); case KeyEvent.KEYCODE_DPAD_DOWN: return super.onKeyDown(KeyEvent.KEYCODE_DPAD_RIGHT, event); case KeyEvent.KEYCODE_DPAD_UP: return super.onKeyDown(KeyEvent.KEYCODE_DPAD_LEFT, event); } return super.onKeyDown(keyCode, event); }

makes the dpad work in the right direction.

shreyas87 avatar Mar 19 '14 16:03 shreyas87

Thank you shreyas87, but how is possible with it.sephiroth.android.library.widget.HListView .Anyone has the anwser? Please help me this issue. Thank you!

namdhis avatar Sep 17 '14 04:09 namdhis