title: Kivy : How to select item in RecycleView using `up` and `down` key?
body: <p>How to select item using <code>up</code> and <code>down</code> keyboard key in <code>RecycleView</code>?</p>
  <h1>test.py</h1>
  <pre><code>from kivy.app import App
  from kivy.lang import Builder
  from kivy.uix.recycleview import RecycleView
  from kivy.core.window import Window
  
  Builder.load_string('''
  &lt;RV&gt;:
      viewclass: 'Label'
      RecycleBoxLayout:
          default_size: None, dp(56)
          default_size_hint: 1, None
          size_hint_y: None
          height: self.minimum_height
          orientation: 'vertical'
  ''')
  
  class RV(RecycleView):
      def __init__(self, **kwargs):
          super(RV, self).__init__(**kwargs)
          self._keyboard = Window.request_keyboard(self._keyboard_closed, self)
          self._keyboard.bind(on_key_down=self._on_keyboard_down)
          self.data = [{'text': str(x)} for x in range(10)]
  
      def _keyboard_closed(self):
          pass
  
      def _on_keyboard_down(self, keyboard, keycode, text, modifiers):
          if keycode[1] == 'down':
              print('down')
          elif keycode[1] == 'up':
              print(&quot;up&quot;)
  
  
  class TestApp(App):
      def build(self):
          return RV()
  
  if __name__ == '__main__':
      TestApp().run()
  </code></pre>