code: def init_widget(self):
          
          super(AndroidCompoundButton, self).init_widget()
          w = self.widget
          w.setOnCheckedChangeListener(w.getId())
          w.onCheckedChanged.connect(self.on_checked)
docs: Initialize the underlying widget.