Global Feed

This component shows the global feed.



Create a Fragment

You can use either of these two methods:

  1. build - the posts will be ranked in chronological order. Below is the sample code.


  2. <newCustomPostRankingmethod> - the posts will be ranked according to a score-sorting mechanism. Refer to Custom Post Ranking for more information about this feature. You can retrieve your global feed sorted by ranking score with this code.

    let viewController = AmityGlobalFeedViewController.makeCustomPostRanking()

Last updated