Package 

Interface ActivitiesSortField

  • All Implemented Interfaces:
    io.getstream.android.core.api.sort.SortField

    
    public interface ActivitiesSortField
     implements SortField<ActivityData>
                        

    Defines the fields by which activities can be sorted.

    This interface extends SortField and provides specific fields for sorting feed data. Each field corresponds to a property of the ActivityData model, allowing for flexible sorting options when querying activities.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class ActivitiesSortField.CreatedAt

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

      public class ActivitiesSortField.Popularity

      Sort by the popularity score of the activity. This field allows sorting activities by popularity (most/least popular first).

    • Method Summary

      Modifier and Type Method Description
      abstract AnySortComparator<ActivityData> getComparator()
      abstract String getRemote()
      • Methods inherited from class java.lang.Object

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