lsjwzh / MaterialLoadingProgressBar

MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4 v21+)
Apache License 2.0
1.09k stars 218 forks source link

Hiding the progressbar #1

Closed tomdevdev closed 9 years ago

tomdevdev commented 9 years ago

Hi

Nice library! I'm having trouble making it go away :)

        progressBar.getVisibility(); //value is 0, it's visible
        progressBar.setVisibility(View.GONE);
        progressBar.getVisibility(); //value is 8, still visible!

I'm loading my stuff in an asynctask, and in onProgressUpdate, I want to make the progress indicator go away. But it's still visible.

lsjwzh commented 9 years ago

thanks for your issue. I have resolved this problem at version 0.4. And you can also resolve this problem by wrap an layout on progressBar before version 0.4