dinuscxj / RecyclerRefreshLayout

A pull to refresh layout for android, the RecyclerRefreshLayout is based on the SwipeRefreshLayout. support all the views, highly customizable, code simplicity, etc. really a practical RefreshLayout!
1.67k stars 253 forks source link

How to chnage color of loading indicatore #22

Open mehulTank opened 7 years ago

mehulTank commented 7 years ago

Dear dinuscxj, i have use this library very use full to me thanks . but can you please let me know how to change color of top loading indicator

artshell commented 6 years ago

@mehulTank

  1. You should coustom View and implement IRefreshStatus interfaces

or

  1. Copy RefreshView source code to coustom

and then call RecyclerRefreshLayout.setRefreshView() method

tabish075 commented 6 years ago

refreshLayout.setRefreshView(new MaterialRefreshView(this, R.color.colorPrimaryDark), layoutParams);

mehulTank commented 6 years ago

@artshell Thanks