android - Same Progress Dialog through Activities and Fragments. -


scenario activities :
1. in activity1 , on button click start async task, shows progress dialog.
2. on post execute of activity1's async task, dismiss progress dialog , switch activity2.
3. on activity2's onresume() call asynctask,shows progress dialog.
4. on activity2's asynctask onpostexecute dismiss progress dialog , inflate layout.
5. issue: activity1 , activity2 start , dismiss progress bar 1 after other. not visually appealing.
6. want ? : want carry progress dialog activity1 , not dismiss until
activity2' asynctask's onpostexecute. change progress dialogs's title when activity switches.
7. solution? work around? jugaad ?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -