Android Question Delay on back a activity... when close a actiity...

scsjc

Well-Known Member
Licensed User
Longtime User
Hello,
i have this question:

1-Main activity is working
2-Call another activity from Main (and use...)
.
.
3-Close the another activity with ACTIVITY.FINISH ... and i see main activity
4-I'm are in Main Activity....
5-I touch ScrollView but don't move !! (Is possible at this point... the Another activity is not close???)
.
Wait (1 second - 3 second)
.
6-I touch the SCROLLVIEW and move !!!!!


Is possible when close the Another Activity...goto Main Activity Instant???
I must use a StartActivity before close Old Activity???


Thanks !!!!
 

klaus

Expert
Licensed User
Longtime User
How do you close exactly the second Activity?
And how do you activate the Main Activity?
Without seeing what exactly you have done it's almost impossible to give a concrete advice.
It would be much more efficient if you posted a small project showing the problem.
 
Upvote 0

scsjc

Well-Known Member
Licensed User
Longtime User

Hello Klaus, thanks for answer...
i close the second activity with : activity.finish.... and i wait to back to main activity (i see the activity inmeditaly but 1-2seconds to touch)

later im create a sample..... thanks!!!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…