I want to delete past messages while sending messages

I am creating a chat application.

In the “chat” app in adalo’s sample, as Messages accumulate in Conversation, sending messages and reflecting them on the screen gradually become slower and slower.

In order to prevent this, I would like to send messages and delete past messages (in my app, 20 messages ago) at the same time.

If you have any suggestions on how to do this or alternatives, please let me know.

Hey there!
I think deleting messages is not very efficient.

Why don’t you have a “max num. of items” in the list equal 10, for example, and order the items based on the creation date?

Best

Paolo

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.