Skip to main content

Group Member Follow Page

When Do Not Disturb is enabled for a group, you can still receive remote push notifications for messages from members in the followed members list.

Data source

The Nexconn-hosted data source is used by default. You can use this page directly.

Group Follow Page

The group follow page manages followed users in a group. It displays the followed user list, adds new followed users, and removes followed users. The following components support the group follow page:

  • GroupFollowsActivity: Container class that loads and displays GroupFollowsFragment.
  • GroupFollowsFragment: Core component that displays the group followed user list and handles user interactions.
  • GroupFollowsViewModel: Data and business logic handler that retrieves group followed user data from the server or local storage and passes it to GroupFollowsFragment.
  • XML layout: nc_page_group_follows.xml

Launch Group Follow Page

Java
ChannelIdentifier conversationIdentifier = getConversationIdentifier();
startActivity(GroupFollowsActivity.newIntent(this, conversationIdentifier));

Customization

Java
// Custom CustomGroupFollowsFragment
public class CustomGroupFollowsFragment extends GroupFollowsFragment {

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

}