Ejemplo n.º 1
0
def Listener(view):
    """Create a new PySharedStateListener subscribed to 'view' and return it."""
    listener = SharedStateNative.Listener()
    listener.listenToView(view)
    return listener