-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix eternal loading progress #719 #697 #738
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! Can we change the text & CTA shown if there is an error to:
"Error loading data" + a "Retry" button which kicks off another load (rather than directing them to the filters).
Hi @QArtur99, can you confirm that you're adressing the requested changes? |
Hi, @keyboardsurfer I opened new pr cuz I couldn't connect to this pr. New pr: #814 |
Hey, @nickbutcher I changed text & CTA, and I opened new pr #814 |
📢 Type of change
📜 Description
Fix eternal refreshing and empty state in HomeActivity
Fix eternal refreshing in Search
Feat placeholder when data are not available same like for no filters
💡 Motivation and Context
When only "Product Hunt" filter was selected and no data was available from the response, the progress was showing infinitely, also function onLoadMore in InfiniteScrollListener was refreshing infinitely when data was not available.
#719
if searched data was not available, LiveData didn't trigger because data loading function didn't assign an empty list to searchResult
#697
💚 How did you test it?
Manually
📝 Checklist
./gradlew spotlessApply
before submitting the PR🔮 Next steps
📸 Screenshots / GIFs