Hi friend,
You can take a static boolean variable globaly (boolean_var = false). and
when ur database work finish you do it true.
In a different thread check continouslly by
while(boolean_var){
dilog.dismiss();
}
On Friday, 3 August 2012 08:52:21 UTC+5:30, Petit wrote:
>
> Hello All,
>
> I am new to android. I have been learning it few months till now. I am
> trying with Content Provider and thread with sample code of searchable
> dictionary few weeks ago. While loading the database I want to show
> the progress bar instead of main layout. The main layout will display
> only when dictionary finished its loading.
>
> Thanks in advance for your response.
>
> Regards,
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en