I have a child widget Gallery, which I configured its onFling method, otherwise everything should be the same as the Gallery widget.
And I'm trying to animate scroll left or right using:
gallery.onKeyDown(KeyEvent.KEYCODE_DPAD_LEFT, new KeyEvent(0, 0));
But this does not work in the gallery of the subclass. Any idea why?
source share