i using 2 activities: activity1 , activity2.in first activity using button,after clicking on button should show progessbar untill activity2 loaded completely.
we have set visibility show , hide progress bar m confused between both activites use visibility criteria.am stuck issue , not able solve problem
can 1 tell me exact process solve issue.
what mean activity 2 loaded? doing network operations in activity two? if not need start 2 through intent.
if light operations there can in on create , thereby updating ui activity2.
if data needs made ready before loading activity2 on first activity button click following
- initiate async task on activity 1 button click
- do operations in doinbackground method
- in onpostexecute data , start activity2 through intent object
Comments
Post a Comment