Package 

Interface FeedsSortField

  • 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 class FeedsSortField.CreatedAt

      Sort by the creation timestamp of the feed. This field allows sorting feeds by when they were created (newest/oldest first).

      public class FeedsSortField.UpdatedAt

      Sort by the last update timestamp of the feed. This field allows sorting feeds by when they were last updated (newest/oldest first).

      public class FeedsSortField.MemberCount

      Sort by the number of members in the feed. This field allows sorting feeds by member count (most/least members).

      public class FeedsSortField.FollowerCount

      Sort by the number of followers the feed has. This field allows sorting feeds by popularity (most/least followed).

      public class FeedsSortField.FollowingCount

      Sort 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 String getRemote()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait