has anyone successfully mimicked the Weather Network tv app's double click center button?
I thought overriding a listener method like onGenericMotionEvent to the view will work but it does not seem to be the case. Even did a lastClicked variable to determine when the next center button click will occur to determine a double click, but still no luck.
I wish to have items in the VerticalGridFragment be able to detect a double click.
Any tips or help would be great.
https://stackoverflow.com/questions/66501708/detect-double-click-dpad-center-button-in-android-leanback March 06, 2021 at 10:08AM
没有评论:
发表评论