Example

When a user clicks on the user profile avatar at the post creator area, UIKit will open User profile page

However, you can intercept the event and define your own logic following the example below.

Usage

When you create a Fragment via a Builder, you can add your own logic via onClickUserAvatar method.

EkoGlobalFeedFragment
        .Builder()
        .onClickUserAvatar(object : IAvatarClickListener {
            override fun onClickUserAvatar(user: EkoUser) {
                // your custom logic
            }
        })
        .build(this)

Last updated