I am executing KeyEvent.KEYCODE_DPAD_UP, as a result one of the item in GridView gains focus. My requirement is to obtain the id(or position) of that item. Is it possible to get it? Any help or guidance will be well appreciated.
I am executing KeyEvent.KEYCODE_DPAD_UP , as a result one of the item in GridView
Share
I got the position of the focused item by using gridView.setOnItemSelectedListener.