Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResponseItems automated sorting after building a response #36

Open
zonder129 opened this issue Oct 21, 2019 · 0 comments
Open

ResponseItems automated sorting after building a response #36

zonder129 opened this issue Oct 21, 2019 · 0 comments

Comments

@zonder129
Copy link

There is a requirement of Action on Google that richResponse must have SimpleResponse as first item of an Items array.

But in the app you can provide different way to implement this array and there is no way to sort it manually, because that property is internal:

internal var responseItems: MutableList<RichResponseItem> = ArrayList()

So you have to create your fulfillment logic in the certain way, which is not really great. It would be nice if after building response there was a sorting to set the SimpleResponse as a first response as it is in requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants