OdyseeTeam / odysee-android

The Odysee Android app with wallet functionality
MIT License
136 stars 27 forks source link

Replace some more newSingleThreadExeutor usages #417

Closed kekkyojin closed 1 year ago

kekkyojin commented 1 year ago

PR Checklist

Please check all that apply to this PR using "x":

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Executors.newSingleThreadExecutor() creates a new executor, which is an expensive task

What is the new behavior?

This usages have been replaced by the executor which application object creates on the first request.