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

Android: Rewrite Ti.UI.ListView to use RecyclerView

    Details

    • Story Points:
      21
    • Sprint:
      2020 Sprint 17, 2020 Sprint 18, 2020 Sprint 19, 2020 Sprint 20, 2020 Sprint 21, 2020 Sprint 22, 2020 Sprint 23

      Description

      Summary:
      Titanium's Ti.UI.ListView is currently implemented on Android via the Java ListView class. We should re-implement Titanium's ListView 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Joshua Quick
              • Watchers:
                4 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 Integration