def _update_view_radios(self): """ Update current view with radios view """ view = RadiosView() view.populate() view.show() self._stack.add(view) self._stack.set_visible_child(view) self._stack.clean_old_views(view)
def __update_view_radios(self): """ Update current view with radios view """ from lollypop.view_radios import RadiosView self.__stop_current_view() view = RadiosView() view.populate() view.show() self.__stack.add(view) self.__stack.set_visible_child(view) self.__stack.clean_old_views(view)