This is still a work in progress and would like feedback. I have added the preference and the setting works initially.
The issue is that we are removing stories from the queue after the data comes back.
There arrives a point where we have eliminated the entire queue due to for example a filter score too high. And we only load more stories in the onScrolled(). So we practically reach a dead end. This is also glaringly visible when the filter was applied to types such as Ask HN where stories count is low.
Perhaps we should fetch more stories based on the number of stories visible rather than onScrolled() only?
This is still a work in progress and would like feedback. I have added the preference and the setting works initially.
The issue is that we are removing stories from the queue after the data comes back.
There arrives a point where we have eliminated the entire queue due to for example a filter score too high. And we only load more stories in the
onScrolled()
. So we practically reach a dead end. This is also glaringly visible when the filter was applied to types such asAsk HN
where stories count is low.Perhaps we should fetch more stories based on the number of stories visible rather than
onScrolled()
only?