Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1521

ListView.footerView / setFooterView(view) is not working on Android

    Details

    • Sprint:
      2015 Sprint 08 SDK

      Description

      Android - Unable to set footerView of ListView once it is rendered.

      Has no effect when use,

      $.listView.footerView = footerView;
      

      and when setFooterView is called, the following error is printed on the console.

      [ERROR] :  TiExceptionHandler: (main) [6821,8711] ----- Titanium Javascript Runtime Error -----
      [ERROR] :  TiExceptionHandler: (main) [0,8711] - In undefined:35,20
      [ERROR] :  TiExceptionHandler: (main) [1,8712] - Message: Uncaught TypeError: Object #<ListView> has no method 'setFooterView'
      [ERROR] :  TiExceptionHandler: (main) [0,8712] - Source:         $.listView.setFooterView(null);
      [ERROR] :  V8Exception: Exception occurred at undefined:35: Uncaught TypeError: Object #<ListView> has no method 'setFooterView'
      

      Additional notes : Works as expected on iOS. On Android - able to set footerView only on creation.

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              mano_mykingdom Manojkumar Murugesan
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration