question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CollectionView Bug

See original GitHub issue

Problem description

CollectionView make the app crash when i add too much images(like gallery app), more than 400 pictures

Expected behavior

Not crashing

Environment

  • Tabris.js version: 3.3
  • Device: Huawei p10 lite, Archos
  • OS: Android 8.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fax1tycommented, Jan 29, 2020

I assume you’re setting the original images. Each image requires memory. 400 Full HD images-1Mb * 400 = 400 MB. It’s too much at one time. Use thumbnails and don’t load everything at once. Use the separated queries.

0reactions
ishigo1987commented, Jan 29, 2020

Yes i know that thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

A UICollectionView bug? | Apple Developer Forums
I have a UICollectionViewController while doing the following: Return a string array in collectionView:indexPathForIndexTitle:atIndex: Set cell.contentView.
Read more >
Potential Bug in UICollectionview in iOS14 - Stack Overflow
I am encountering a strange behaviour in the way iOS14 handles a CollectionView. I have noticed that (changing from iOS13.5 to iOS14) the ......
Read more >
Does anyone else have this stupid collectionView bug with ...
Overall, collectionView has been extremely wonky, in that going back and forth from one view controller to another will trigger the ...
Read more >
[Bug] CollectionView inside TabViewItem not showing content ...
Description in IOS , When having a CollectionView inside TabViewItem , the content of the CollectionView is not visible the fist time the ......
Read more >
CollectionView on Xamarin Forms. How to solve this annoying ...
There is a bug in Xamarin.Forms that hasn't been fixed yet, so it can happen that you see the EmptyView even if your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found