Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

How to remove circular progress bar at bottom of recyclerview #54

Closed
sachinrana028 opened this issue Jul 27, 2015 · 3 comments
Closed

Comments

@sachinrana028
Copy link

I am using recycler view inside fragment after loading data the circular progress bar is still visible at bottom . I want after loading data the circular progress bar hides
this is my fragment layout please help me

  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
    android:layout_height="match_parent">

<com.malinskiy.superrecyclerview.SuperRecyclerView
  android:id="@+id/list"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  app:recyclerClipToPadding="false"
  app:recyclerPadding="16dp"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
/>
</RelativeLayout>
@Malinskiy
Copy link
Owner

Hi @sachinrana028,

you can call hideProgress or hideMoreProgress for hiding the progress bar accordingly.

@sachinrana028
Copy link
Author

Thanks @Malinskiy

@subhasishnath45
Copy link

subhasishnath45 commented Jul 6, 2018

but from which method ???

I found out In case of fetching JSON data by Volley library,
i did this inside onResponse(JSONArray response) method:

                if(response.length()>0){
                    progressbar.setVisibility(ProgressBar.GONE);
                }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants