MultiImageView | Android library to display a few images in one ImageView | Chat library
kandi X-RAY | MultiImageView Summary
kandi X-RAY | MultiImageView Summary
Library for display a few images in one MultiImageView like avatar of group chat.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MultiImageView
MultiImageView Key Features
MultiImageView Examples and Code Snippets
Community Discussions
Trending Discussions on MultiImageView
QUESTION
I'm a bit stuck. I have a custom UIView
which contains a timer and an UIImageView
, that timer fires at a constant interval and changes the image from an array of images. This custom view works fine and is performant when I embed it within any other UIView
. It changes images at the prescribed speed and doesn't have any issues. It works as I'd like.
This exact same view however, when placed inside a UITableVieCell
that looks like the below, renders only the first image and does not change. I have confirmed that the timer is firing, and the the image view is changing its image under the hood by printing the reference to the UIImageView.image
. That is to say, that when embedded within a UITableViewCell
, my custom UIView
is firing its timer and the UIImageView
within this custom view, thinks it is changing its image. This leads me to believe that this is a display issue and not a data setting issue.
As a result, here is what have tried:
- I've tried wrapping it in
DispatchQueue.main.async{}
- Adding a delegate so that my
UIViewController
can calltableView.reloadData()
when the timer is fired - Removing the setter of
multiImageView.images
on myprepareForReuse
Custom Cell Below
...ANSWER
Answered 2021-Nov-16 at 12:06It appears that this is a bug on the iOS 15 simulator on M1 processors. The code functions perfectly on a real device but not on a simulator. I intend to file a radar for this.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MultiImageView
Add the dependency
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page