riot games lol api
so i have an object that has all the summoner data. i.e: name level rank etc.. but after i edit that data as in assign values to it it deletes itself from the instance i have.. why ?
heres the code that assigns data to the player instance i made out of my summoner class
and heres the updatehomepage that updates the windows form homepage that will show the data from the player instance. but the player instance when i try to show its data it suddenly appears empty with all values 0
am i doing something wrong ?
4 Replies
Hard to say, but it seems your Task runs after the view is updated.
Best way is to step-debug through the statements.
However, consider using
Task
and async
Methods for this.
The Thread
class is way too low-level for a simple Task (wordplay here).