Well, I have a sub, which is run at start up.
dljpg(1).Initialize("2", Me)
dljpg(1).Download("http://www.xxxx.xxx2.jpg")
dljpg(1).Initialize("2", Me)
dljpg(1).Download("http://www.xxxx.xxx2.jpg")
dljpg(1).Initialize("2", Me)
dljpg(1).Download("http://www.xxxx.xxx2.jpg")
dljpg(1).Initialize("2", Me)
dljpg(1).Download("http://www.xxxx.xxx2.jpg")
on JobDone
Select job.jobname
Case "2"
Bitmap1.Initialize3(Job.GetBitmap)
Listview1.AddTwoLinesandBitmap("2", "download", Bitmap1)
Job.release
Return
end select
etc... I am just using an example here as I do not want to put my apps code here as it is a paid app. However, this fills up the listview up to about 120 items, each item downloads an image to use on the list view.
On the Listview ItemClick:
If Value = "2" Then
StartActivity(NEWACTIVITY)
What I am trying to do is once an item is clicked in the listview, it stops the sub thats loading the listview and just goes into that activity. What its doing now is simply when you click on the item, it starts the new activity, but exits out of the activity and goes to the listview screen everytime the next item is loaded and then returns to the new activity(Sometimes). It will do this until the whole list item is stored up. I just want to be able to stop the sub.
As for the first activity.. I want it to remain open in the background so if the user wants to back out, they can, but I want to end the sub.