- Jun 6, 2020
- 11,517
- 4,383
Hi,
I want to do some Jobs on start of an App. Since there are user interactions and I have to handle with MsgBoxAsync and Wait For, there are Services to start and so on, it's quite difficult to keep the order of the jobs.
Especially because anything runs in Activity_Create, and some jobs should run in Activity_Resume, but only after the other jobs are done...
So I try to put anything in little classes and created a JobListClass, which handles them.
In Main I have
Main:
The Jobs only have to have a Sub called runJob:
JobClass:
I want to do some Jobs on start of an App. Since there are user interactions and I have to handle with MsgBoxAsync and Wait For, there are Services to start and so on, it's quite difficult to keep the order of the jobs.
Especially because anything runs in Activity_Create, and some jobs should run in Activity_Resume, but only after the other jobs are done...
So I try to put anything in little classes and created a JobListClass, which handles them.
In Main I have
Main:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
JobClass:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید