Loading Image Spinner

0 Franz Schmidt · October 29, 2015
Got a question here guys:

What's the best way to make a loading animation for an image while it gets donwloaded?

I allready found some solutions:
Using loadingView.setVisibility(View.GONE) when image is donwloaded
Make a thread for the loading animation
Make a asyncTask with doInBackground and stuff

Hope someone can help me :ermm:

Greetings Franz

Post a Reply

Replies

Oldest  Newest  Rating
0 Gary Whitney · October 30, 2015
Did you try developer.android.com and search for ProgressDialog?
0 Franz Schmidt · October 30, 2015
Ok will have a look at it but I think progress dialogs only open a little window infront of the activity or am I wrong?
0 Franz Schmidt · October 30, 2015
Ok found a nice solution here:

It's not ProgressDialog but ProgressBar what I was searching for:
http://stackoverflow.com/questions/5442183/using-the-animated-circle-in-an-imageview-while-loading-stuff

Thanks Gary:)
  • 1

Java / Android Development

107,205 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator