pockethub / PocketHub

PocketHub Android App
Apache License 2.0
9.39k stars 3.47k forks source link

Fix new search showing old results #1219

Closed mjaseem closed 6 years ago

mjaseem commented 6 years ago

On search results view, if you start a new search by entering a new query, page will reload and but will show the old results. Fixing this by forcing refresh and clearing old results.

mjaseem commented 6 years ago

This fixes #1218, but led to a new issue : on the second search, results page gets scrolled to the bottom and more results keep loading continuously. Any idea why this could happen?

mjaseem commented 6 years ago

The issue mentioned above has been fixed and I have amended the commit. @veyndan Please review.

mjaseem commented 6 years ago

@Meisolsson Please review

mjaseem commented 6 years ago

@Meisolsson I have made the requested changes