[GH-ISSUE #634] Android: Subscription icons are messed up #472

Closed
opened 2026-05-07 00:24:33 +02:00 by BreizhHardware · 7 comments

Originally created by @topcaser on GitHub (Feb 23, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/634

Hi, I have set an Abo icon for two of my abos. This works fine. But my other two abos which I haven't configured are showing up randomly either the icon of the first or second abo.

Originally created by @topcaser on GitHub (Feb 23, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/634 Hi, I have set an Abo icon for two of my abos. This works fine. But my other two abos which I haven't configured are showing up randomly either the icon of the first or second abo.
BreizhHardware 2026-05-07 00:24:33 +02:00
Author
Owner

@binwiederhier commented on GitHub (Feb 23, 2023):

What's an "abo icon"?

<!-- gh-comment-id:1441225520 --> @binwiederhier commented on GitHub (Feb 23, 2023): What's an "abo icon"?
Author
Owner

@binwiederhier commented on GitHub (Feb 28, 2023):

Not sure what you mean, so I'm closing this ticket. Feel free comment though, and I can re-open

<!-- gh-comment-id:1447334277 --> @binwiederhier commented on GitHub (Feb 28, 2023): Not sure what you mean, so I'm closing this ticket. Feel free comment though, and I can re-open
Author
Owner

@topcaser commented on GitHub (Feb 28, 2023):

Hi, that's the name in the settings. I attached a screenshot. It's the left icon. The bottom two abos haven't set an icon at all but they show one.

https://tny.lv/screenshot

<!-- gh-comment-id:1447355407 --> @topcaser commented on GitHub (Feb 28, 2023): Hi, that's the name in the settings. I attached a screenshot. It's the left icon. The bottom two abos haven't set an icon at all but they show one. https://tny.lv/screenshot
Author
Owner

@binwiederhier commented on GitHub (Feb 28, 2023):

I don't see a screenshot. I'm happy to help. I just don't know what's up.

<!-- gh-comment-id:1447364857 --> @binwiederhier commented on GitHub (Feb 28, 2023): I don't see a screenshot. I'm happy to help. I just don't know what's up.
Author
Owner

@topcaser commented on GitHub (Mar 1, 2023):

Hi, I edited the post yesterday and provided a link to the screenshot. Hope that helps.

<!-- gh-comment-id:1449121869 --> @topcaser commented on GitHub (Mar 1, 2023): Hi, I edited the post yesterday and provided a link to the screenshot. Hope that helps.
Author
Owner

@binwiederhier commented on GitHub (Mar 1, 2023):

Oh I see. So you are saying that the icons that you associated with the subscriptions are incorrect?

Let me know if this is accurate:

  • You have 4 subscriptions (A, B, C and D), and only two of them have icons (let's call them A and B)
  • The two subscription without icons (C and D) are showing the icons from either A or B

Correct?

--

I have a vague idea of what this could be, but I have never heard of it happening before. My thought is that the RecyclerView is reusing, but not properly resetting the ImageView component used for the icon. This should be an easy fix, if this is what it is, and it's easy to reproduce. It'll be a bit until I do Android work again, but not very long I think.

/cc @wunter8

<!-- gh-comment-id:1449142544 --> @binwiederhier commented on GitHub (Mar 1, 2023): Oh I see. So you are saying that the icons that you associated with the subscriptions are incorrect? Let me know if this is accurate: - You have 4 subscriptions (A, B, C and D), and only two of them have icons (let's call them A and B) - The two subscription without icons (C and D) are showing the icons from either A or B Correct? -- I have a vague idea of what this could be, but I have never heard of it happening before. My thought is that the RecyclerView is reusing, but not properly resetting the ImageView component used for the icon. This should be an easy fix, if this is what it is, and it's easy to reproduce. It'll be a bit until I do Android work again, but not very long I think. /cc @wunter8
Author
Owner

@topcaser commented on GitHub (Mar 1, 2023):

Yep, that's exactly the problem. I deleted the screenshot since it contained some subscriptions and other data

<!-- gh-comment-id:1449222333 --> @topcaser commented on GitHub (Mar 1, 2023): Yep, that's exactly the problem. I deleted the screenshot since it contained some subscriptions and other data
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#472
No description provided.