callback - Android call back after layout rendering has completed? -


how can create/bind service after activity layout rendered?

-- update

i have 2 tabs (both separate activities)on main activity , data used tabs comes service. right i'm binding service inside oncreate method. issue layout not rendered till statements inside oncreate gets finished. blank screen shown till service bind

see viewtreeobserver

more info here: https://stackoverflow.com/a/7735122/338479


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -