How to customize SwipeToReferesh layout top ProgressBar or Loader?

19
January 12, 2019, at 6:30 PM

I would like to know how can I customize SwipeToRefresh layout. In specific, I am trying to hide that loader.

Answer 1

Please set following code into SwipetoReferesh Layout java file

layout.setProgressViewEndTarget(false,0);
layout.setProgressBackgroundColorSchemeColor(R.color.tra);
layout.setProgressBackgroundColorSchemeResource(R.color.tra);

In color.xml file set tra =#ffffff

READ ALSO
How to solve dlopen failed: library “../../lib/libtbb.so” not found error?

How to solve dlopen failed: library “../../lib/libtbb.so” not found error?

I am working on android app with Face Recognization using OpenCvI found this repo here's a link

11
Dagger 2 get old token when token is refreshed

Dagger 2 get old token when token is refreshed

I am having a problem with dagger 2Briefly, dagger 2 makes the injection in my fragment, and if the token is expired

10
How to get login() > 0 for this rest api code [on hold]

How to get login() > 0 for this rest api code [on hold]

I need the result of this coding is login () > 0, where is the wrong code ?

39
Run a SQL statement in MySQL on each connection

Run a SQL statement in MySQL on each connection

I must be going nuts here, but I could swear I read about a configuration option in MySQL that will run the defined SQL statement on every successful connection to the database, with the cavet that it would not run for root or those with a certain privilege...

43