Thread TagsAdobe Illustrator Adobe InDesign Adobe Photoshop Android Development Android Programming Android Studio Automation Testing C / C++ Programming Career Options College Lounge css digital marketing Digital Marketing / SEO Fireworks Graphic Design Graphic designing Graphics Design Graphics Designing HTML? Illustrator Internship Training logo Design logo designing Magento Photoshop PHP Programming QA react-native Scroll Website SEO Single Page Website Stock Managment System Testing Typography UI UI/UX Development UI Design UI Designing UI development User Interface UX Design Web Designing Website Design Wordpress wp
Log in with your username and password
Register for free!
Registration at Smart Mentors is completely free and takes only a few seconds. By registering you’ll gain:
- Full Posting Privileges.
- Access to Private Messaging.
- Optional Email Notification.
- Ability to Fully Participate.
- Author Replies
- January 10, 2019 at 2:17 pm #51874
Usually, on the Android platform; lists of images are not properly recycled when scrolling. Their memory is never garbage assembled, nor is it manually freed at a lower level. This leads to out-of-memory (OOM) crashes that can happen apparently at random as the app’s memory is exhausted.
We can investigate this by profiling the app’s stack memory usage in either Xcode or Android Studio. If you scroll through a list of images and notice the stack usage steadily climbing without ever falling, it probably means that your images aren’t being reused properly.
To moderate this, we can check which list implementation we are using. In modern versions of React Native, ListView should never be practiced; ensure that the FlatList component is handling the rendering instead. If this is not enough after tuning, you can try making your images lower resolution.
You must be register. Registration is 100% free.to reply to this thread.Please or