M
M
Maxim2020-09-15 16:46:20
Java
Maxim, 2020-09-15 16:46:20

How to list markers in Google Map using RxJava?

There is a list of cities with a name and coordinates. (A list with 200000+ elements)
How can I display all this data in a background thread using RxJava, since when outputting through a normal loop in the main thread, the application crashes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
davidnum95, 2020-09-16
@davidnum95

No way, in android: display something on the screen = do it in the UI thread. Another question is why display 200 thousand elements at once when you need to use clustering.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question