Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-08-07 03:41:22

cercul1
Member
From: USA
Joined: 2015-02-18
Posts: 91

How do I make a listView update when I click a button

I am adding a little game into my bot and I need the list view to update and display the updated int every time a button is clicked.


Om_1869ea_249353.jpg

Offline

#2 2015-08-07 03:51:22

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: How do I make a listView update when I click a button

Do you save the data somewhere?
If you do that, clear the listview and load the items again.

Offline

#3 2015-08-07 03:53:00

cercul1
Member
From: USA
Joined: 2015-02-18
Posts: 91

Re: How do I make a listView update when I click a button

No, but actually I think I'll do that because I want it to save.


Om_1869ea_249353.jpg

Offline

#4 2015-08-07 03:54:09

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: How do I make a listView update when I click a button

Do it. Then read from the data and clear the listview and add the items.

Offline

#5 2015-08-07 03:58:28

cercul1
Member
From: USA
Joined: 2015-02-18
Posts: 91

Re: How do I make a listView update when I click a button

will do... thx


Om_1869ea_249353.jpg

Offline

cercul11438916308527644

Board footer

Powered by FluxBB

[ Started around 1714396408.0965 - Generated in 0.042 seconds, 13 queries executed - Memory usage: 1.36 MiB (Peak: 1.45 MiB) ]