There are two views for the user profile page.
This view allows the user to see his own user profile detail and his own user feed. There are two states user can see.
Default state : Allows user to see his own following user counter and Follower user counter.
Request pending state : Allows user to see his own following user counter, Follower user counter, and also the follow request he received.
Feature
Description
Follower counter
Following counter
Pending follow request section
Edit user profile
3 dot button
You can get this view by using this code:
This view allows the user to see other user's profile detail and their user feed. There are two states user can see.
In the other user view , UIKIT has two main views that support the Follow user connection and the User privacy view.
Default state: Allows user to see the connection between the current user and the target user profile.
Feature
Description
Follow button
When clicked, the system will make a connection with the User.
If the Connection method = with request, system will change to cancel pending state.
Cancel request button
When clicked, follow request will be canceled
Follower counter
Following counter
Pending follow request section
Edit user profile
User feed (Private view)
If a connection was not established, the user profile and the Private setting is Private.
3 dot button
You can get this view by using this block of code
This view allows user to view and interact with the feed content normally. This also applies when the Privacy setting is Public.
This view block any user to see the target user feed content. This view only exist if the Private setting is Private.
Create a Fragment
Shows the total count of followers. It will redirect to when clicked.
Shows the total count of users that you're following. It will redirect to when clicked.
If you have pending follow requests from other users, you will see the pending request section. It will redirect to when clicked.
It will redirect to when clicked.
It will redirect to when clicked.
Showing the total count of followers. It will redirect to when clicked.
Shows the total count of users that you're following. It will redirect to to when clicked.
If you have pending follow requests from other users, you will see the pending request section. It will redirect to when clicked.
It will redirect to when clicked.
It will redirect to when clicked.
Feature
Description
User feed
User can scroll vertically to see a list of posts from a user feed
Private feed
User can not see the feed content if user is not connected and the Privacy setting is Private