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

Android: Rewrite Ti.UI.TableView to use RecyclerView

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Story Points:
      21

      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:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
              • Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Source Code