Ok. i know this as asked so many times before, but mine is a bit different.
I have the GifImageView
repo. installed using this dependency:
compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.+'
Now, I have a GIF progress spinner in my drawable. How can I change the spinner? It doesn't matter if I need to create a custom layout, please show me how. My progressDialog:
public void showProgressBar(String msg) {
progressDialog = ProgressDialog.show(this, "Logging out", "Loading", true);
}
public void dismissProgressBar() {
if (progressDialog != null && progressDialog.isShowing())
progressDialog.dismiss();
}
So, without going technical, can I change the normal spinner to a GifImageVIew?