Kebijakan Privasi
Perjanjian Privasi dan Keamanan Data
Contact List | Group List | Friend Request List |
![]() | ![]() | ![]() |
ContactList component is included in TUIKit Compose. To use ContactList, integrate TUIKit Compose into your project. For detailed integration steps, see the TUIKit Compose documentation.ContactList is the primary component for displaying the contact list page:Method | Parameter | Description |
ContactList | modifier: Modifier | Jetpack Compose modifier for configuring the component’s style, layout, behavior, and appearance. |
| onGroupClick: (ContactInfo) -> Unit | Webhook triggered when a group is clicked; this parameter is optional. |
| onContactClick: (ContactInfo) -> Unit | Webhook triggered when a contact is clicked; this parameter is optional. |
| contactListViewModelFactory: ContactListViewModelFactory | Factory for creating the internal ContactListViewModel. Typically, you do not need to provide this manually, as a default implementation is included. |
ContactList provides entry points for subviews such as friend requests, group chat requests, group chat list, and blacklist. The bottom section displays the contact list, as shown below:
ContactList, the component automatically handles navigation—no extra configuration is required. onGroupClick or onContactClick) is triggered. You must handle these webhooks to implement custom navigation. See the routing example below:
ContactList as shown below:Box(modifier = Modifier.fillMaxSize().systemBarsPadding()) {ContactList(onGroupClick = {// Handle group click event}, onContactClick = {// Handle contact click event})}
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan