SurveyKit icon indicating copy to clipboard operation
SurveyKit copied to clipboard

Add callback 'onStepBegin'

Open roedll opened this issue 3 years ago • 3 comments

In our use case we need the information when a certain step is displayed. Thus we added another callback called onStepBegin

roedll avatar Nov 26 '20 14:11 roedll

Hello. Sorry for the late reply. We thank you for you contribution. We will discuss in the future, if we are willing to keep this feature. If so, we will let you know. For the moment I'll leave it open.

coroutineDispatcher avatar Dec 29 '20 17:12 coroutineDispatcher

@roedll Isn't this something that should be done with a custom step? Since you want to execute an action, when a specific step is called, that specific step should take care of that.

That should not be part of the "library" configuration, but rather the action of that step.

KlausNie avatar Feb 19 '21 14:02 KlausNie

Thanks for the suggestion, but I think in our use case as custom step wouldn't help: We want to be able to present the questions also via Text-To-Speech to the user when they are displayed. So the already available steps are enough for us for now...

I think my description wasn't that clear in my original post ;-)

roedll avatar Feb 21 '21 17:02 roedll