Incorrect article gets opened #162
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Lately I had this problem happening: opening an article from the main page does open the article page, but with the incorrect article opened. It is still functional as you can swipe to the correct article, but it is annoying.
Steps to Reproduce
Not sure, I guess that you have to set read a few articles from the home and then open one.
I'll take a look at the problem a bit more in depth this week and try to send a PR with a fix.
Hi, thanks for the report.
I'll see if I reproduce it.
I'm able to reproduce it on an emulator with android API 35. When opening an article we pass the article position in the article list by using the position in the home recycler view.
For some reason, even without setting any article as read, the position in the recycler view is fiddly and often results in an incorrect position.
This problem is also inconsistent: opening and closing the same article several times results in different article positions being passed to the article viewer and as such different articles being opened each time.
Currently I only tested this using the Card view, in order to reproduce my phone settings. I'll have to see if this happens in list view as well.