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

Android: TableViewProxy unable to create table view row proxy for object

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.0.1
    • Component/s: Android
    • Environment:

      Description

      Adding a TableViewSection to a TableView leads to the following error on Android and the table is not displayed. The code under iOS displays the Table (see screenshots)

      [ERROR] TableViewProxy: (main) [38,38] Unable to create table view row proxy for object, likely an error in the type of the object passed in...
      

      index.xml

      <Alloy>
          <Window backgroundColor="white">
              <TableView id="table">
       
              </TableView>
          </Window>
      </Alloy>
      

      tableViewSection.xml

      <Alloy>
          <TableViewSection id="tableSection">
       
          </TableViewSection>
      </Alloy>
      

      index.js

      var firstSection = Alloy.createController('tableViewSection', {  headerTitle: 'First section' }).getView();
       
      $.table.insertSectionBefore(0, firstSection);
       
      $.index.open();
      

        Attachments

          Activity

            People

            • Assignee:
              ybanev Yordan Banev
              Reporter:
              patrickr Patrick Reichardt
              Reviewer:
              Joshua Quick
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • It looks like Backbone Issue Sync is not enabled for your project.

                  Git Source Code