Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2927] Android - tableView with images too slow to scroll

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2011-12-23T11:45:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
Reportermaor bolo
AssigneeMauro Parra-Miranda
Created2011-12-16T22:46:15.000+0000
Updated2016-03-08T07:47:54.000+0000

Description

Hi , I am showing on my app a tableview , each row on that tableview has label and has image . the image can be big size. The effect , when you scroll down it's very very laggy and sometime stuck before showing the next rows like freezing and then unfreezing . That making the UX of the navigation really bad. Looks like it is rendering the image every pixel that i scroll down and that's make the scroll very very bad. Any one experienced suce problem and know how to solve it ? Ref : http://developer.appcelerator.com/question/129371/android---tableview-with-images-too-slow-to-scroll How to reproduce : build an app that taking pictures from camera . Save pictures on filesystem render pictures as imageview on a table do that until you have around 10 or 20 rows . try to scroll scrolling is not possible table is jumpy and not reflect your movement. ( You can try above also from loading big pictures without taking them from camera ) what i tried to do : When loading small images from internet -> work as expected when loading small images from filesystem -> work as expected when loading big images and resize them -> not working table is jumpy and laggy. Thanks.

Comments

  1. Paul Dowsett 2011-12-23

    Maor This is a duplicate of TIMOB-2473 and possibly related to TIMOB-1507, and thus I will need to close it. Please note for future that in order for me to escalate a ticket to the core team, it must follow the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) and hence include full details about your environment and a test case that runs without modification, as per the [Creating a Test Case](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase). Thanks for your contribution though. Cheers
  2. Paul Dowsett 2011-12-23

    Maor In addition to this, please try your app with the v8 runtime - there are vast speed improvements, although I admittedly don't know for certain whether it will resolve this tableview issue.
  3. Mauro Parra-Miranda 2013-11-24

    DUP issue.

JSON Source