Which UI element is most relevant for showing clickable items of dynamic count in Mobile SDK?

chatbots

(Chandrahasan Vantaku) #1

I want to show a dynamic number of items(clickable) in the chatbot messages, that the user can select in the iOS app.

But in the available list of items:

  • Buttons - can have only max 3 buttons.
  • Quick Replies - doesn’t fit for us because the text is a little long and need a subtitle.
  • List Template - max 4 items
  • Carousel Template - Need to have an image for each item
  • Tables are not clickable and also not available in Mobile SDK

Please suggest a workaround for achieving the required UI.

Thank you.


(Subrahmanyam Donepudi) #2

@chandrahasan1 If the number of elements to be presented to user are huge, the performance of the app might be impacted while rendering the view which presents the elements. This is the reason for us to impose limits on elements at views.

The examples provided at iOS SDK for presenting views (templates) @ https://github.com/Koredotcom/iOS-kore-sdk/tree/5e37e0c3597b270df1e5c06bb31d0880e2740f4f/Examples/Shared/Library
were intended to guide the developer on using them.

Thus said, I believe developer should be able customize the existing templates or even create their own views as per their use case and requirement.

Could you please see if changing the “buttonsLimit” at https://github.com/Koredotcom/iOS-kore-sdk/blob/5e37e0c3597b270df1e5c06bb31d0880e2740f4f/Examples/Shared/Library/BubbleViews/Options/OptionsBubbleView.swift present more buttons at the button template?
Same applies for other views as well.


(Chandrahasan Vantaku) #3

Thank you @Subrahmanyam.