def apply_selection(self, index, view, is_selected):
        viewclass = view.__class__
        if viewclass not in _view_base_cache:
            _view_base_cache[viewclass] = isinstance(view, RecycleDataViewBehavior)

        if _view_base_cache[viewclass]:
            view.apply_selection(self.recycleview, index, is_selected)
Applies the selection to the view. This is called internally when
dataset/ETHPy150Open kivy/kivy/kivy/uix/recycleview/layout.py/LayoutSelectionBehavior.apply_selection