This is a migrated thread and some comments may be shown as answers.

Pull to Refresh ChatList

1 Answer 57 Views
Chat (Conversational UI)
This is a migrated thread and some comments may be shown as answers.
Collin
Top achievements
Rank 1
Collin asked on 24 Jul 2019, 02:11 PM
How would you go about supporting pull to refresh functionality? Alternatively how could you detect the first message on the chat has been presented? 

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 26 Jul 2019, 10:39 AM
Hi Collin,

Thank you for this input. I think that the pull-to-refresh feature is pretty nice and important. However, the chat was originally implemented mainly focusing on chat-bots and some features that are a bit more chat-room specific have not been implemented. With this I mean that we do not have a built-in pull-to-refresh (or load-on-demand) feature.

The RadChat uses a control called ChatListView to display the items. At the moment we do not keep track of the items on screen, so I can only suggest you try go get this information yourself. You will need to lookup the renderer in each platform and see if you can use the Control to get the information you need. In each platform the renderer is named ChatListViewRenderer, so you can extend this class and use the ExportRenderer attribute to tell the Forms framework to create instances of the extended class. I have not researched on whether or not the underlying platform controls have a pull-to-refresh feature or a way to find out the items on screen, so I am unsure if this will work.

We already have this feature request in our feedback portal where you can vote and track its status. Let us know if you need any other information.

Regards,
Petar Marchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chat (Conversational UI)
Asked by
Collin
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or