This component shows the global feed.
Create a Fragment
You can use either of these two methods:
build
- the posts will be ranked in chronological order.
Below is the sample code.
<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.
Feature
Description
Global feed
Scroll vertically to see a list of posts from the global feed