Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6526] Android: Change TiUIImageView start and stop methods to no longer create new runnable

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-12-16T00:57:17.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-49, Release 1.8.0.1, Release 2.0.0
ComponentsAndroid
Labelsn/a
ReporterOpie Cyrus
AssigneeHieu Pham
Created2011-12-09T07:46:24.000+0000
Updated2014-02-04T00:45:49.000+0000

Description

TiUIImageView.java has start and stop methods for animation that create a new runnable for invoking their async counter parts (handleStop, handleStart). This should be changed to use the TiMessenger mechanism used in KrollProxy and other places.

Comments

  1. Hieu Pham 2011-12-15

    Testing steps: There are 2 cases to test for. 1. Refactoring: Since this is a general refactoring, it would affect Base UI -> Views -> ImageViews -> Image Rapid Update/Animated. Test those two tests to make sure nothing is broken. 2. Fixed delay when click on "stop" in Base UI -> Views -> ImageViews -> Animated. There should be a delay when duration is high (500ms) WITHOUT this fix.
  2. Wilson Luu 2012-02-10

    Closing bug. Verified using above test on: SDK build: 1.9.0.v20120210130135 Runtime: V8, Rhino Titanium Studio, build: 1.0.8.201201262211 Device: Droid 3 (2.3.4)

JSON Source