0

I have an application that will be used on a large screen and operated only with an external keyboard. There is a gridview dynamically inflated according to a database and I have to scroll through its items with the arrows on the external keyboard and highlight the one that has the focus so that if the Enter key is pressed an alertdialog is displayed with the data of that item. I can show the alert with the data, but I don't know how to navigate the gridview with the arrows on an external keyboard.

change the selection focus of each element of the gridview and show alert with data of the selected element when pressing ENTER

3
  • welcome , Plz read HOW TO ASK
    – Elango
    Commented Sep 9, 2023 at 19:39
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Sep 10, 2023 at 5:24
  • I need to go through the recyclerview items and get the position in an alertdialog Commented Sep 10, 2023 at 20:03

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.