You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 4, 2026. It is now read-only.
Describe the bug
Currently we use the FlatFeed with the ListEmptyComponent props to display a fallback image when we have no messages.
We would like to be able to distinguish the loading state with no data (to display a placeholder) from the state where we have no data (to display another image).
From what I've seen we don't have access to any isLoading props to know if the first get is finished.
Setup
0.64.2react-native-activity-feed: 0.8.22getstream: 4.5.4Describe the bug
Currently we use the
FlatFeedwith theListEmptyComponentprops to display a fallback image when we have no messages.We would like to be able to distinguish the loading state with no data (to display a placeholder) from the state where we have no data (to display another image).
From what I've seen we don't have access to any
isLoadingprops to know if the first get is finished.So I tried simply like this
This works except that when I scroll down my
offsetis reset and so the data loaded is always the same.