Uploaded image for project: 'Android Authenticator & Contacts'
  1. Android Authenticator & Contacts
  2. ANDAUTH-87

Improve Encapsulation in RecyclerView Adapters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.1
    • None
    • None
    • None
    • Integration
    • Unknown
    • Pull Request accepted

    Description

      In every recyclerview adapters, we can improve encapsulation by creating method inside viewholders and provide items to this method instead of doing everything in onBindViewHolder(). This will also make sure that click listener is set up once for whole holder.

      I'll do the pull request in next week.

      Attachments

        Activity

          People

            somenath1435 Somenath Sarkar
            somenath1435 Somenath Sarkar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: