Message search is a feature that allows users to search for messages within a specific channel. It retrieves a list of messages that contains a search query from group channels joined by a user. You can search for either an exact match or a partial match.
Users can use this feature through the search bar in the message search view. When they search for a keyword in the search bar, the message search view will display the search results as shown below. Users can locate the message that they’re looking for by selecting the specific result.
Note : To learn more about implementing message search, refer to Search messages.
You can customize the UI for message search using the style resource and icon resource. To learn how to customize message search results, refer to the code in Update or change an item in a list. In order to make changes to message search results, you must use the
To customize the style of message search items, you have to change the UIKit-defined style values in the
res/values/style.xml file as shown below. To learn how to customize the style, refer to Style resource.
A search icon used in the search bar.