def init_widget(self):
        """ Initialize the underlying widget.

        """
        super(AndroidFragment, self).init_widget()
        f = self.fragment
        f.setFragmentListener(f.getId())
        f.onCreateView.connect(self.on_create_view)
        f.onDestroyView.connect(self.on_destroy_view)
def init_widget ( self ) : super ( AndroidFragment , self ) . init_widget ( ) f = self . fragment f . setFragmentListener ( f . getId ( ) ) f . onCreateView . connect ( self . on_create_view ) f . onDestroyView . connect ( self . on_destroy_view )
Initialize the underlying widget.