-
- 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 classActivitiesSortField.CreatedAtSort by the creation timestamp of the activity. This field allows sorting activities by when they were created (newest/oldest first).
public classActivitiesSortField.PopularitySort 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 StringgetRemote()-
-
Method Detail
-
getComparator
abstract AnySortComparator<ActivityData> getComparator()
-
-
-
-