android - Starting an Activity and delaying its transition -
i have 2 activities :
- - activity gathering data internet (it takes time)
- - activity b building ui elements based on data received (it takes time too)
when activity start downloading, app enter loading phase. when it's complete, activity b starts, have transition between views of & b. b requires loading phase.
i have loading - transition - loading - result doesn't nice @ all.
i have loading - transition - result loadings of both activities grouped.
so question : there way start activity delay transition ?
i don't think going right way this. suggest having 1 activity loader. use asynctask
load data in different thread. update ui data gets loaded , when done remove loader. should use multiple threads work takes time because otherwise ui freeze. looking @ said above, don't see why need 2 activities.
Comments
Post a Comment