code: def create_widget(self):
          
          d = self.declaration
          mode = 1 if d.mode == 'dropdown' else 0
          self.widget = Spinner(self.get_context(), mode)
  
          # Create the adapter simple_spinner_item = 0x01090008
          self.adapter = ArrayAdapter(self.get_context(),
                                      '@layout/simple_spinner_dropdown_item')
docs: Create the underlying label widget.