Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants