Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25184

Android: Tableview row title gets messed up after scrolling on android 7.0 & above

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 7.0.0, Release 6.2.0
    • Fix Version/s: Release 6.2.0
    • Component/s: Android
    • Environment:
    • Story Points:
      3
    • Sprint:
      2017 Sprint 17 SDK, 2017 Sprint 18 SDK

      Description

      This is a regression. Not seen with SDK 6.1.2.GA.

      Steps to reproduce:

      1. Create an android app.
      2. Use the code below in the app.js:

      var win = Ti.UI.createWindow(),  
          section = Ti.UI.createTableViewSection(),
          table = Ti.UI.createTableView({
          	top: 10,
          	height: Ti.UI.FILL,
          	Width: Ti.UI.FILL,
      	  	data: [section]
      	});
       
      createRows();
      	
      function createRows(){
      	for(var i=0; i<=49; i++){
      		var row = Ti.UI.createTableViewRow({ title: 'Open Window'+i+' - '+i});
      		section.add(row);
      	}
      	return section;
      }
       
      table.addEventListener('click', function(e){
      	alert(JSON.stringify(e.index));
      });
       
      win.add(table);
      win.open();
      

      3. Build for android 7.0 & above device/emulator.
      4. After the app launches scroll the tableview.

      Actual results:

      1. The tableviewrow title get messed up after scrolling.
      2. For the code above the you will see random title at random places as they are revealed after scrolling up & down.
      3. Getting the index shows proper index for the row. Its just the title is messed up.

      Expected result:

      1. The tableviewrow title should not get messed up.

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Yordan Banev
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-11072
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code