this post was submitted on 08 Oct 2023
25 points (96.3% liked)

Lemmy

12443 readers
80 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

In case this is an app issue, i'm on eternity. Unlikely to be an instance issue i've noticed this several times on my alt too.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 11 months ago (1 children)

Is it something like really different?

Because if slight changes, this could be the users. Unlike Reddit, Lemmy allows users to change their titles of a post.

For example, if someone asks a community a question seeking an answer, the title of the post may originally have had something like “question” or “unanswered”, but after receiving the answer, the user decides to mark the post as now being “solved”, so it’s readily apparent to future audience of the page.

[–] [email protected] 3 points 11 months ago (1 children)

No it was a title from a seperate post that actually existed.

[–] [email protected] 2 points 11 months ago (1 children)

Oh, that's probably the app. So, the way Android does infinite scroll, it takes a lot of resources to create a "view" (the thing that holds the details of a post), so as you scroll, when a view goes off screen, it gets reused instead of destroying it and creating a new one. This is called a recycler view. When a view gets recycled, it is supposed to replace the details that are unique to each post (title, image, etc.) and keep any other detais (any text that might be common to all posts, any sub views like upvote and downvote, etc.). But if your logic isn't right, sometimes something might get kept instead of replaced when the view is recycled.

I remember making this mistake the first time I used a recycler view back when I was working on my senior project in college, many years ago now. I don't remember how I fixed it or the exact details around why it happened, but I know that I did fix it at one point.

[–] [email protected] 2 points 11 months ago

That's super interesting, thanks