code: def refresh_views(self, change=None):
          
          adapter = self.adapter
  
          # Set initial ListItem state
          item_mapping = self.item_mapping
          for i, item in enumerate(self.list_items):
              item_mapping[i] = item
              item.recycle_view(i)
  
          if adapter:
             adapter.clearRecycleViews()
             adapter.setRecycleViews(
                  [encode(li.get_view()) for li in self.list_items])
docs: Set the views that the adapter will cycle through.