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

Android: Rewrite Ti.UI.TableView to use RecyclerView

    Details

    • Story Points:
      21
    • Sprint:
      2020 Sprint 8, 2020 Sprint 9, 2020 Sprint 10, 2020 Sprint 11, 2020 Sprint 12, 2020 Sprint 13, 2020 Sprint 20, 2020 Sprint 21, 2020 Sprint 22, 2020 Sprint 23

      Description

      Summary:
      Titanium's Ti.UI.TableView is currently implemented on Android via the Java ListView class. We should re-implement Titanium's TableView to use Android's RecyclerView instead.

      Reason:
      Google's RecyclerView offers the following features we would like to add for parity with iOS:

      • "Swipe Actions" for rows.
      • Drag-and-drop rows.

      The above can be done via Google's ItemTouchHelper Java class in combination with their RecyclerView.

      Note 1:
      In Android Studio's UI designer, Google's ListView is listed under the "Legacy" widgets tab. Google isn't deprecating ListView, but they're clearly favoring RecyclerView over it.

      Note 2:
      In the future, we should rewrite Titanium's Ti.UI.ListView to use Google's RecyclerView as well, but it's better to test-the-waters with the much simpler Ti.UI.TableView first.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Joshua Quick
              • Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration