Skip to main content

Members I Follow Page

tip

This feature is supported starting from version 5.12.2.

When Do Not Disturb is enabled, you'll still receive push notifications for messages sent by group members listed in your Members I Follow list.

Enable the Service

Before using this feature, you must activate User Profile Hosting in the Console.

Group Follows Page

The Group Follows page manages your followed group members, providing functionalities to view the follow list, add new members, and remove existing ones. Below are detailed descriptions of related components:

  • GroupFollowsActivity: The container class for the Group Follows page, responsible for loading and displaying GroupFollowsFragment.
  • GroupFollowsFragment: The core component of the Group Follows page, displaying the follow list and handling user interactions.
  • GroupFollowsViewModel: Handles data and business logic, retrieves follow list data from the server or local storage, and passes it to GroupFollowsFragment.
  • XML Layout: rc_page_group_follows.xml

Launch the Group Follows Page

ConversationIdentifier conversationIdentifier = getConversationIdentifier();
startActivity(GroupFollowsActivity.newIntent(this, conversationIdentifier, maxCount));

Customization

// Customize CustomGroupFollowsFragment
public class CustomGroupFollowsFragment extends GroupFollowsFragment {

/**
* Remove a followed group member
*
* @param groupMemberInfo Group member information
*/
protected void onRemoveGroupFollow(GroupMemberInfo groupMemberInfo) {
}

}