All pages
Powered by GitBook
1 of 2

User Profile Page

This page shows user profile information as well as user feed.

User Profile Behavior

User's own profile

A community member page

Other user's profile

Components

  • User feed

Features

Feature

Description

User Profile

User can view display name and description.

Post creation

User can tap the floating action button to open Post creation page to create a post on user's own page.

User profile update

User can tap Edit profile to open User profile edit page to update user's own profile.

Usage

Create a Fragment

AmityUserProfilePageFragment
          .newInstnce(user or userId)
          .build(activity)

Customise components with Fragment builder

A delegate can be passed to customise the components.

Method

Description

feedFragmentDelegate

Fragment delegation for AmityFeedFragment

User Feed

This component shows a user feed of a specific user.

Features

Feature

Description

User feed

User can scroll vertically to see a list of posts from a user feed.

Usage

Create a Fragment


AmityUserFeedFragment
                .newInstance(user or userId)
                .build(activity)