Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11843] Android: Setting image property of image view inside a tableViewRow fails after the first time

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-03-02T11:45:51.000+0000
Affected Version/sRelease 2.1.3, Release 2.1.4, Release 3.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterMitchell Amihod
AssigneeShameer Jan
Created2012-10-19T20:04:54.000+0000
Updated2017-03-21T21:39:52.000+0000

Description

*Problem description* I have an image inside a view inside a table row. When I click on the image, it toggles between on / off state. This works fine for the first click, but subsequent clicks the image doesn't toggle. If I run the code with the view just added to the window, it toggles on / off as expected when it's clicked. *Steps to reproduce* 1. Paste code into new project 2. Either import attached images, or simply change them to "KS_nav_ui.png" and "KS_nav_views.png" 3. Run app 4. Click the table view row multiple times. Observe the small icon on the right. *Test case* See attached app.js for example.

Attachments

FileDateSize
app.js2012-10-19T20:04:54.000+00001061
focus_off.png2012-10-19T20:04:54.000+0000566
focus_on.png2012-10-19T20:04:54.000+0000611

Comments

  1. Mitchell Amihod 2012-11-21

    hi? is anyone going to at least review this and maybe promote it out of TC status?
  2. Daniel Sefton 2012-11-21

    Tested and confirmed on Android emulator 2.3.3, Samsung Galaxy S2 2.3.6 on TiSDK 2.1.3 GA, 2.1.4 GA and 3.0.0 CI.
  3. Mitchell Amihod 2012-11-21

    thanks daniel!
  4. Shameer Jan 2013-03-02

    The problem cannot reproduce with version 3.0.2 and master release 3.1.0 Tested on: Titanium Studio, build: 2.1.2.201208301612 Titanium SDK version: 3.1.0 (02/03/2013) Titanium SDK version: 3.0.2 (02/03/2013) Device: Samsung galaxy s duos Android version: 4.0.4
  5. Lee Morris 2017-03-21

    Closing ticket as the issue cannot be reproduced and due to the above comments.

JSON Source