multithreading - firebase - android - RunLoop in 9.0.0 -


firebase 9.0.0 calls listeners on main thread on android. i'd change , use custom executors.

(i've read in previous firebase versions (2.5.2) there runloop class.

i have not tried seemed entry point configure custom executors/threads.)

is possible configure callback executors in 9.0.0 somehow?

adding own executors not yet supported in 9.0.0. we're looking (re-)add support in upcoming release.

keep in mind firebase database surfaces callback on main thread. network interaction , internals run on separate thread already.

if want significant work in callback, moment you'll have use usual methods (asynctask or 1 of brethren).


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -