Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27173] Android: After liveview reload click event on TableView no longer fires

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2019-06-21T21:19:58.000+0000
Affected Version/sRelease 8.0.0, Release 8.0.2, Release 8.1.0
Fix Version/sn/a
ComponentsAndroid
LabelsengTriage
ReporterRene Pot
AssigneeUnknown
Created2019-06-19T20:07:47.000+0000
Updated2019-06-21T21:19:58.000+0000

Description

The click event on a TableView is not fired after reloading the app using liveview on Android. Sample code:
    <Window>
        <TableView onClick="clickHandler">
            <TableViewRow title="test"></TableViewRow>
        </TableView>
    </Window>
$.getView().open();

function clickHandler() {
    console.log('clicked');
}
After compiling and loading it in the emulator the click event works fine, however after reloading liveview (saving any file without altering it does this) the click event never fires again. *Expected result* Click event should keep working.

Comments

  1. Joshua Quick 2019-06-19

    I'm pretty sure this is a duplicate of [TIMOB-26326], which resolves this issue in Titanium 8.1.0.
  2. Gary Mathews 2019-06-21

    Closing as duplicate.

JSON Source