def METHOD_NAME(self):
    self.native.VirtualListSize = len(self.interface.data)
    image_list = WinForms.ImageList()
    self._list_index_to_image_index = {}
    counter = 0
    for i, item in enumerate(self.interface.data):
        if item.icon is not None:
            image_list.Images.Add(item.icon._impl.native)
            self._list_index_to_image_index[i] = counter
            counter += 1
    self.native.SmallImageList = image_list
    self._cache = []