def append(self, item, key=''):
        if isinstance(item, type('')) or isinstance(item, type(u'')):
            item = ListItem(item)
        elif not isinstance(item, ListItem):
            raise ValueError("item must be text or a ListItem instance")
        # if an event listener is already set for the added item, it will not generate a selection event
        if item.attributes[self.EVENT_ONCLICK] == '':
            item.set_on_click_listener(self, self.EVENT_ONSELECTION)
        item.attributes['selected'] = False
        super(ListView, self).append(item, key=key)
Appends child items to the ListView. The items are accessible by list.children[key].
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/ListView.append