Skip to content

Advice on working with ListView and ListItem #4322

Answered by davep
MuongKimhong asked this question in Q&A
Discussion options

You must be logged in to vote

@MuongKimhong You're calling call_from_thread with the result of calling ListView.extend, what you should be doing is passing a reference to the function you want to call. For example:

self.app.call_from_thread(data_list_view.extend, list_items)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MuongKimhong
Comment options

@TomJGooding
Comment options

@davep
Comment options

Answer selected by MuongKimhong
@MuongKimhong
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants