-
- All Implemented Interfaces:
-
io.getstream.android.core.api.sort.SortField
public interface FeedsSortField implements SortField<FeedData>
Defines the fields by which feeds can be sorted.
This interface extends SortField and provides specific fields for sorting feed data. Each field corresponds to a property of the FeedData model, allowing for flexible sorting options when querying feeds.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFeedsSortField.CreatedAtSort by the creation timestamp of the feed. This field allows sorting feeds by when they were created (newest/oldest first).
public classFeedsSortField.UpdatedAtSort by the last update timestamp of the feed. This field allows sorting feeds by when they were last updated (newest/oldest first).
public classFeedsSortField.MemberCountSort by the number of members in the feed. This field allows sorting feeds by member count (most/least members).
public classFeedsSortField.FollowerCountSort by the number of followers the feed has. This field allows sorting feeds by popularity (most/least followed).
public classFeedsSortField.FollowingCountSort by the number of feeds this feed is following. This field allows sorting feeds by how many feeds they follow.
-
Method Summary
Modifier and Type Method Description abstract AnySortComparator<FeedData>getComparator()abstract StringgetRemote()-
-
Method Detail
-
getComparator
abstract AnySortComparator<FeedData> getComparator()
-
-
-
-