Add onSetListeners() example to demo app and comment code properly