Android SDK RequestListActivity: Hide 'Start a Conversation' Button
AnsweredI am trying to customize the functionality of the RequestListActivity in my Android app. It appears that the only option to pass to the configuration is "withContactUsButtonVisible" which will show/hide the floating action button in the event that there are existing requests. However, when the list is empty, there is still a button to "Start a Conversation" regardless of whether or not the Contact Us button is set to be visible or not. In the iOS SDK, we have the RequestListUIConfiguration which has the "allowRequestCreation" setting, which will hide this button or any other ability to create a new request from within the Request List, which is what I want to do.
Is there a way to hide the "Start a Conversation" button in Android's empty RequestListActivity?
-
Hi Matt Stone,
Thank you for your post today, hope you are doing well !I reached out to a member of our mobile dev' team regarding this question, and it turns out this won't be possible as such.
The purpose of this view is to give you the list of tickets, and by default we put this to create some tickets directly.
The only "way" would be to create your own view (custom view) for when there are no tickets, and you can use our view when your list contains tickets.
Here is the provider if you want to create your own custom view (if getAllRequest is empty = your custom view, otherwise the native Zendesk view), however, as being part of the custom code, we won't be able to accompany you down this road.
Hope this helps! Have a great rest of your day,Best regards.
Please sign in to leave a comment.
1 Comments