commit | 1fd8ea75a7f2da3579a18b5f9738c94b31ddc591 | [log] [tgz] |
---|---|---|
author | Andrei Stingaceanu <stg@google.com> | Mon Aug 22 13:58:58 2016 +0100 |
committer | Andrei Stingaceanu <stg@google.com> | Mon Aug 22 13:58:58 2016 +0100 |
tree | 3311de4c9c9348d35f16419e7b09cfcb9c73cf23 | |
parent | c233963e03054010819b7f1731e0995102d41231 [diff] |
TextView - lazy GestureDetector creation for ClickableSpans Moves the ClickableSpan GestureDetector creation into TextView#onTouchEvent only on ACTION_DOWN if a ClickableSpan was targeted. This allows constructing TextViews outside the UI Thread. Bug: 30929474 Change-Id: I7f4442f0faee51d3c395fbde1ce32bdf909a18fb