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
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.2
react-native-activity-feed
: 0.8.22getstream
: 4.5.4Describe the bug
Currently we use the
FlatFeed
with theListEmptyComponent
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.So I tried simply like this
This works except that when I scroll down my
offset
is reset and so the data loaded is always the same.The text was updated successfully, but these errors were encountered: